HaxeFoundation / HaxeFoundation/haxe

[hl] hl-check failure with abstract over Dynamic

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

Description

```haxe
import haxe.xml.Fast;

class Main {
public static function main() {
var data:Wrapper = null;
new Fast(data);
}
}

abstract Wrapper(Dynamic) from T to T {}
```

```
Error:
Main.hx:6: Check failure at fun@21 @2 - Register 0(dyn) should be object
```

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.