Files
Nim/tests/generics/tmetafield.nim
Zahary Karadjov 4f91dd40ed msg -> errmsg
2014-03-21 00:27:28 +02:00

19 lines
286 B
Nim

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