From f8daedce5c73e02dfb2fc59d75777190185584df Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 29 Jul 2026 01:16:18 +0200 Subject: Validate cast compatibility during semantic analysis --- testsuite/fail_compilation/while_condition.elna | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/fail_compilation') diff --git a/testsuite/fail_compilation/while_condition.elna b/testsuite/fail_compilation/while_condition.elna index 73fed95..1e17489 100644 --- a/testsuite/fail_compilation/while_condition.elna +++ b/testsuite/fail_compilation/while_condition.elna @@ -1,4 +1,4 @@ begin - while 1 do (* @Error Condition must be a boolean, got 'Int' *) + while 1 do (* @Error Condition must be a boolean expression, but got 'Int' *) end end. -- cgit v1.2.3