HaxeFoundation / HaxeFoundation/haxe

gencpp chokes on `cpp.Rest` arguments with `@:structAccess`

Open
#12,016 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

```
@:structAccess
class Test {
extern function new();
extern function test(args: cpp.Rest) : Void;
static function main() new Test().test();
}
```

Causes an exception on Haxe 4.3.6:
```
Generating cpp: Test
Invalid_argument("List.map2")
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.