diff options
Diffstat (limited to 'tests/compile/tgeneric2.nim')
-rw-r--r-- | tests/compile/tgeneric2.nim | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/compile/tgeneric2.nim b/tests/compile/tgeneric2.nim deleted file mode 100644 index 56803017a..000000000 --- a/tests/compile/tgeneric2.nim +++ /dev/null @@ -1,15 +0,0 @@ -import tables - -type - TX = TTable[string, int] - -proc foo(models: seq[TX]): seq[int] = - result = @[] - for model in models.items: - result.add model["foobar"] - -type - obj = object - field: TTable[string, string] -var t: Obj -discard initTable[type(t.field), string]() |