HaxeFoundation / HaxeFoundation/haxe
Wrong error when importing non existing subtype
Open
test-disabled
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
> Main.hx
```haxe
import Types.Baz;
```
> Types.hx
```haxe
enum Bar {}
```
```
$ haxe Main
Main.hx:1: characters 8-13 : Module Types does not define type Types
```
Here it's ok that `Types.hx` does not define type `Types`, but the error should complain about `Bar` vs `Baz` instead.
Contributor guide
Assessment
This issue has not been assessed yet.