HaxeFoundation / HaxeFoundation/haxe

abstract implicit casting issue

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

Description

```haxe
abstract Or(Dynamic) from T1 to T1 from T2 to T2 {}

class C {}
abstract A({}) {}

class Main {
static function main() {
var a:A = null;
(a : Or>);
}
}
```

```
A should be Or>
```

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.