This commit is contained in:
Araq 2015-07-22 19:47:20 +02:00
commit d82d430cbe
2 changed files with 11 additions and 2 deletions

View file

@ -6,3 +6,9 @@ proc f(x: proc: MalType) =
discard x()
f(nil)
# bug #2823
type A = object #of RootObj <-- Uncomment this to get no errors
test: proc(i: A): bool
var a: proc(i: A): bool # Or comment this line to get no errors