fixes #5148
This commit is contained in:
parent
4134240b42
commit
700c024e13
2 changed files with 8 additions and 1 deletions
7
tests/enum/tenumalias.nim
Normal file
7
tests/enum/tenumalias.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# bug #5148
|
||||
|
||||
type
|
||||
A = enum foo, bar
|
||||
B = A
|
||||
|
||||
echo B.foo
|
||||
Loading…
Add table
Add a link
Reference in a new issue