HaxeFoundation / HaxeFoundation/haxe

[jvm] Bad type on operand stack when spreading an array for Rest<T> generic arg

Open
#11,907 3 comments 0 reactions 1 assignee Claimed by @Simn View on GitHub
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

```haxe
function main():Void {
t(...[10]);
}

function t(x:haxe.Rest) {}
```
openjdk 21.0.2
Haxe nightly 5.0.0-alpha.1+0620b1b

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.