HaxeFoundation / HaxeFoundation/haxe
[display] no expected-type completion for (Map) array-assignment
Open
discussion
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
```haxe
class Main {
static function main() {
var x = new Map();
x[""] = |
}
}
```
no `{fields...}` 😢
Works with Array, didn't test with custom/non-multiType abstracts, but I suspect it's a general abstract operator overloading issue. Could we at least provide the expected type when there's only one `@:op([])`?
Contributor guide
Assessment
This issue has not been assessed yet.