diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2021-07-28 12:46:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-28 12:46:28 +0200 |
commit | a273ea70e8817e3509014a1b3dcd16a360ed400b (patch) | |
tree | 3a3d26701cf7bc84240426cde277d44e6194e4a4 /tests/errmsgs | |
parent | 4c1202972abdfe99232e5d15a6169c7b2e0f5d75 (diff) | |
download | Nim-a273ea70e8817e3509014a1b3dcd16a360ed400b.tar.gz |
implements overloadable enum values; WIP (#18470)
* implements overloadable enum values * simpler code
Diffstat (limited to 'tests/errmsgs')
-rw-r--r-- | tests/errmsgs/t10251.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/errmsgs/t10251.nim b/tests/errmsgs/t10251.nim index 0c7fe0b3d..19adf02eb 100644 --- a/tests/errmsgs/t10251.nim +++ b/tests/errmsgs/t10251.nim @@ -2,7 +2,6 @@ discard """ action:reject cmd: "nim check $options $file" nimout: ''' -t10251.nim(15, 5) Error: redefinition of 'foo'; previous declaration here: t10251.nim(13, 5) t10251.nim(19, 23) Error: redefinition of 'goo1'; previous declaration here: t10251.nim(19, 11) ''' """ @@ -14,6 +13,7 @@ type Enum2 = enum foo, bar, baz + type Enum3 {.pure.} = enum # fixed (by accident?) in https://github.com/nim-lang/Nim/pull/18263 goo0, goo1, goo2, goo1 |