Amber
Amber copied to clipboard
[BUG] If missing closing parenthesis add a warning and detected as variable
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
Now the error is different:
import * from "std/text"
split(
ERROR Variable 'split' does not exist