fixes #2823
This commit is contained in:
parent
cd42d38887
commit
d82d430cbe
2 changed files with 11 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue