HaxeFoundation / HaxeFoundation/haxe
Haxe 4.2.x regression
Open
strong-belgian-ale
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
When upgrading some code from Haxe 4.1.5 to 4.2.x, I found the following regression:
```haxe
abstract MapProxy(Dynamic) {
@:from static inline function fromMap(map:Map):MapProxy {
return null;
}
}
class Test {
public static function main():Void {
var m : MapProxy = new Map();
}
}
```
This used to compile fine but is now failing with:
```
Test.hx:12: characters 3-44 : haxe.ds.Map : Int & EnumValue & String & Int & String & EnumValue & { }, Unknown<1>> should be MapProxy
```
Contributor guide
Assessment
This issue has not been assessed yet.