Codegen fix for procs taking type(nil) (#9231)

This commit is contained in:
xzfc 2018-10-09 19:51:34 +07:00 • committed by Andreas Rumpf
commit 505ae14f4b
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,6 @@
discard """
targets: "c cpp"
"""
proc foo(v: type(nil)) = discard
foo nil