HaxeFoundation / HaxeFoundation/haxe

only one error instead of many within map literal

Open
#9,566 1 comment 0 reactions 0 assignees View on GitHub
error-reporting
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

```haxe
class A {}
class B {}
class C {}

function main() {
// multiple errors as expected
A.new;
B.new;
C.new;

// only a single error for A.new
var mapping = [
"A" => A.new,
"B" => B.new,
"C" => C.new,
];
}
```

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.