This commit is contained in:
Araq
2015-03-24 23:07:04 +01:00
parent 5d132b75ef
commit 178a85cd25
2 changed files with 206 additions and 182 deletions

View File

@@ -0,0 +1,17 @@
# bug #1700
import tables
type
E* = enum
eX
eY
T* = object
case kind: E
of eX:
xVal: Table[string, T]
of eY:
nil
proc p*(x: Table[string, T]) =
discard