diff options
| author | Laytan Laats <laytanlaats@hotmail.com> | 2024-08-31 02:30:32 +0200 |
|---|---|---|
| committer | Laytan Laats <laytanlaats@hotmail.com> | 2024-08-31 02:30:32 +0200 |
| commit | 7624ecf4ba2a14611a80000f2b3de06b1eb0724e (patch) | |
| tree | 9cb6e14d6a9f04519bcc9dd30f191277246e3c7f /src/check_expr.cpp | |
| parent | bfedcd70355c4571f881450419022d85032f5fda (diff) | |
fix some issues with the "bad import name" errors
There was so much wrong here:
- The `if` statement was never entered because even on invalid import
names `path_to_entity_name` returns "_"
- Two errors were shown where one doesn't make sense, need to choose one
based on context
- Structure of the messages were different from other error messages
- Suggestion was using the wrong import path
Diffstat (limited to 'src/check_expr.cpp')
0 files changed, 0 insertions, 0 deletions