diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-10-15 14:46:38 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-10-15 14:46:38 +0200 |
| commit | 56a1244380133ab400f98d2da15353e080ffb360 (patch) | |
| tree | f4e0aef02c8d356fc2c67bfdb2f1c490858c24cf /testsuite/fail_compilation/constant_enum_to_int.elna | |
| parent | de6ecae0f072bb32be95382c536a517eabe4b1f1 (diff) | |
| download | elna-56a1244380133ab400f98d2da15353e080ffb360.tar.gz | |
Diffstat (limited to 'testsuite/fail_compilation/constant_enum_to_int.elna')
| -rw-r--r-- | testsuite/fail_compilation/constant_enum_to_int.elna | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/fail_compilation/constant_enum_to_int.elna b/testsuite/fail_compilation/constant_enum_to_int.elna index 194109b..60bfeae 100644 --- a/testsuite/fail_compilation/constant_enum_to_int.elna +++ b/testsuite/fail_compilation/constant_enum_to_int.elna @@ -7,5 +7,5 @@ var y: []Int begin - y := x[Enumeration.one to Enumeration.two] (* @Error Array index must be an integral type, but got 'Enumeration' *) + y := x[Enumeration.one to Enumeration.two] (* @Error Array index must be of type 'Word' or 'Int', but got 'Enumeration' *) end. |
