Commit Graph

3 Commits

Author SHA1 Message Date
slhx agent 3ea596a218 fix(derive): fail missing surface generation
Make #[slhx::surface] report a compile-time error when slhx.generated.rs is absent instead of silently expanding to an empty module. Add compile-fail coverage for the missing generated include path.

req: build/004

req: test/003
2026-05-25 21:20:18 +02:00
slhx agent a6db4699f7 test(derive): cover missing generated resource
Add compile-fail coverage for generated APIs: a surface include that exposes only one class must reject references to absent generated class names during cargo check.

req: codegen/001

req: style/002

req: test/003
2026-05-25 21:16:24 +02:00
slhx agent b7055f225a test(derive): cover handler compile failures
Add a fixture-backed compile-fail test for generated slhx handler contracts: unknown handles and invalid handler shape fail during cargo check with actionable diagnostics.

req: derive_handler/001

req: test/003
2026-05-25 21:14:16 +02:00