HaxeFoundation / HaxeFoundation/haxe
Array expression reification for function arguments
Open
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
With haxe version 3.2.1, I tried writing the following macro:
```
import haxe.macro.Expr;
class Test {
static macro function fn(args: Array) {
return macro function ($a{args}) {};
}
}
```
However, this failed with the following compile errors:
```
Test.hx:5: characters 29-30 : Unexpected {
Test.hx:5: characters 30-34 : Missing ;
Test.hx:5: characters 35-36 : Unexpected )
```
Contributor guide
Assessment
This issue has not been assessed yet.