Files
Nim/tests/generics/tmetafield.nim
2014-08-29 09:12:12 +02:00

19 lines
298 B
Nim

discard """
cmd: "nim check $options $file"
errormsg: "'proc' is not a concrete type"
errormsg: "'Foo' is not a concrete type."
errormsg: "invalid type: 'TBaseMed'"
"""
type
Foo[T] = object
x: T
TBaseMed = object
doSmth: proc
data: seq[Foo]
var a: TBaseMed
# issue 188