diff options
Diffstat (limited to 'testsuite')
| -rw-r--r-- | testsuite/compilable/comments.elna (renamed from testsuite/compilable/trailing_text.elna) | 7 | ||||
| -rw-r--r-- | testsuite/fail_compilation/case_type_mismatch.elna | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/testsuite/compilable/trailing_text.elna b/testsuite/compilable/comments.elna index 0a95516..502ac21 100644 --- a/testsuite/compilable/trailing_text.elna +++ b/testsuite/compilable/comments.elna @@ -1,5 +1,12 @@ module +(* + This is multi-line + docblock +*) + +-- This is a single-line comment. + end. Everything after the module terminator is ignored and is never scanned, so it diff --git a/testsuite/fail_compilation/case_type_mismatch.elna b/testsuite/fail_compilation/case_type_mismatch.elna index f2db7e7..10e55ab 100644 --- a/testsuite/fail_compilation/case_type_mismatch.elna +++ b/testsuite/fail_compilation/case_type_mismatch.elna @@ -4,7 +4,7 @@ var begin case x of - 1: (* ok *) + 1: | true: (* @Error Invalid operands of type 'Int' and 'Bool' for operator = *) end end. |
