HaxeFoundation / HaxeFoundation/haxe
Abstract over abstract casting
Open
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
Typing `C` in the following code fails with `You can only declare from/to with compatible types`.
While `B` is fine.
``` haxe
abstract A(Array) to Array{}
abstract B(Array) to Array> {}
abstract C(Array) to Array>> {}
```
Contributor guide
Assessment
This issue has not been assessed yet.