HaxeFoundation / HaxeFoundation/haxe
Invalid "is" operator
Open
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
The following should fail at compile time :
```haxe
"" is Int
```
`is`operator should only compile is there is a possibility for it to be true.
Contributor guide
Research direction
The issue names no files, tests, or entry points. Reproduce compilation of `"" is Int`, then locate the compiler path handling the `is` operator; done means this expression fails at compile time while valid `is` uses remain accepted.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100