HaxeFoundation / HaxeFoundation/haxe
Duplicate `null can't be used as basic type` error with disabled analyzer
Open
- 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
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