Amber icon indicating copy to clipboard operation
Amber copied to clipboard

[BUG] import { * } from "b.ab" error

Open Mte90 opened this issue 1 year ago • 1 comments

This line of code:

import { * } from "b.ab"

Generate this:

Identifier 'import' is a reserved keyword
at ./a.ab:1:1


1| import { * } from "b.ab"

Instead the right code is:

import * from "b.ab"

The error should give better hints about the error.

Mte90 avatar Jul 24 '24 09:07 Mte90

it should print something like this, then:

import { * } from "b.ab"
       ^^^^^
Identified is blah blah blah
at file.ab:12345:4

Did you mean import * from "b.ab" ?

b1ek avatar Jul 26 '24 02:07 b1ek

Tested now and the issue is still there

Mte90 avatar Jul 15 '25 08:07 Mte90