HaxeFoundation / HaxeFoundation/haxe

Mono to Any cast error

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

Description

```haxe
class Main {
static function main() {
final data = ({} : Dynamic);
data.id = 0;
test(data); // Any should be { id : Int }
}

static function test(v:Any) {
trace(v);
}
}
```
No error in 4.2.5

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.