summary refs log tree commit diff stats
path: root/lib/genode_cpp
diff options
context:
space:
mode:
authorJuan M Gómez <info@jmgomez.me>2023-09-28 17:08:42 +0100
committerGitHub <noreply@github.com>2023-09-28 18:08:42 +0200
commit4fffa0960f6c17e9e1e6a20665c97ac34ea678bb (patch)
tree7efad6a6093e4fa27f14f6056bf258ac698322bb /lib/genode_cpp
parent285cbcb6aa36147e9b9c024ceed78e46526dd1ea (diff)
downloadNim-4fffa0960f6c17e9e1e6a20665c97ac34ea678bb.tar.gz
C++ Adds support for default arg using object construction syntax. Fixes a compiler crash (#22768)
`Foo()` below makes the compiler crash. 
```nim

proc makeBoo(a:cint = 10, b:cstring = "hello", foo: Foo = Foo()): Boo {.importcpp, constructor.}

```
Diffstat (limited to 'lib/genode_cpp')
0 files changed, 0 insertions, 0 deletions