diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-10-05 23:57:38 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-10-05 23:57:59 +0200 |
| commit | e38f23a1bd6e0ee093655e1f241e524795f21fec (patch) | |
| tree | 5a5dd8223f6a01dd4ea2ec37a399b76a7519b6e3 /testsuite | |
| parent | a9f6cfb6a8b6d38057faca067c015da1f72cf62d (diff) | |
| download | elna-e38f23a1bd6e0ee093655e1f241e524795f21fec.tar.gz | |
Support single-line comments
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. |
