typecheck: diagnose missing TYPE OF expressions
This commit is contained in:
@@ -89,6 +89,12 @@ class ValidateTypecheckDiagnosticsTests(unittest.TestCase):
|
||||
MODULE.EXPECTED,
|
||||
)
|
||||
|
||||
def test_includes_missing_type_of_expression_fixture(self):
|
||||
self.assertIn(
|
||||
"tests/typecheck_missing_type_of_expression_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 @@
|
||||
TYPE OF AS kind
|
||||
Reference in New Issue
Block a user