HaxeFoundation / HaxeFoundation/haxe

Duplicate `null can't be used as basic type` error with disabled analyzer

Open
#12,614 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

```haxe
function main() {
var a = 0;
if (a == null) {}
}
```

--main Main
--cpp bin/cpp

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue from the provided Haxe snippet using `--main Main` and `--cpp bin/cpp`, with the analyzer disabled. Inspect the compiler diagnostic path for the `null can't be used as basic type` message and determine why it is emitted twice. Done means the reproduction reports the error only once.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.