typecheck: clarify missing expected type

This commit is contained in:
Hermes Agent
2026-09-17 20:50:14 +00:00
parent 9b26a854e2
commit cd92a04303
7 changed files with 22 additions and 2 deletions
@@ -71,6 +71,12 @@ class ValidateTypecheckDiagnosticsTests(unittest.TestCase):
MODULE.EXPECTED,
)
def test_includes_missing_expected_check_type_fixture(self):
self.assertIn(
"tests/typecheck_missing_expected_type_bad.claro",
MODULE.EXPECTED,
)
def test_includes_lowercase_compatibility_return_success_fixture(self):
self.assertIn(
"tests/typecheck_function_lowercase_return_good.claro",
@@ -0,0 +1,2 @@
SET score NUMBER 10
CHECK TYPE score IS