fixes #4089
This commit is contained in:
parent
8dfdea8919
commit
4d56b7da5a
2 changed files with 13 additions and 1 deletions
12
tests/ccgbugs/tweakopenarray.nim
Normal file
12
tests/ccgbugs/tweakopenarray.nim
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# bug #4089
|
||||
|
||||
type
|
||||
Proc = proc(args: openArray[Bar]): Bar
|
||||
|
||||
Foo = object
|
||||
p: Proc
|
||||
|
||||
Bar = object
|
||||
f: Foo
|
||||
|
||||
proc bar(val: Foo): Bar = Bar()
|
||||
Loading…
Add table
Add a link
Reference in a new issue