Amber icon indicating copy to clipboard operation
Amber copied to clipboard

[BUG] If missing closing parenthesis add a warning and detected as variable

Open Mte90 opened this issue 1 year ago • 1 comments

Code like this:

import * from "test-master.ab"

test(

Return

Expected expression
at ./test.ab:6:6


thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/heraclitus-compiler-1.5.8/src/compiling/failing/logger.rs:132:24:
index out of bounds: the len is 4 but the index is 4

Mte90 avatar Jul 18 '24 08:07 Mte90

Now the error is different:

import * from "std/text"

split(

ERROR Variable 'split' does not exist

Mte90 avatar Nov 12 '24 10:11 Mte90