HaxeFoundation / HaxeFoundation/haxe
Abstract as IntMap key prevents unification with Iterable<V>
Open
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
This is quite awkward, not sure why it happens:
```haxe
using Lambda;
function main() {
[0 => 1].count();
[(0 : Foo) => 1].count(); // haxe.ds.Map has no field count
}
abstract Foo(Int) from Int {}
```
It works with a `to Int`.
Contributor guide
Assessment
This issue has not been assessed yet.