Simon von Hackewitz
Simon von Hackewitz
### With ANSI escapes enabled position at line end is not highlighted For all errors which only have a position but no range, the position is only highlighted if ANSI...
fix #3506
fix #2702 Examples for ambiguous use of semicolon ``` my_feat => say "Hi"; say "ambiguous" if true if true then say "OK"; say "ambiguous" ``` Whats still OK ``` a...
> This is a variant of the [dangling else](https://en.wikipedia.org/wiki/Dangling_else) problem, which we also have and should solve similarly by producing an error. _Originally posted by @fridis in https://github.com/tokiwa-software/fuzion/issues/2702#issuecomment-2270891573_ Currently the...
Example code from the tutorial: ``` ones => list 1 ones say ones.count # error: does not terminate ``` The error message ```error 1: java.lang.VerifyError: Expecting a stack map frame...
If a syntax error happens at the end of a line i.e. the error position is the new line character, then the next line is included in the error message....
Example ``` ex is arr array (tuple (choice String (array u8)) String) := [("foo", "one"), ([(u8 65), 66, 67], "two"), ("bar", "three")] for tup in arr do (val, name) :=...
By default features from other files are not visible, if visibility is not set explicitly, so trying to redefine such a feature results in this error `Feature declared using modifier...
This is the faulty code ``` out := for res := [], res ++ new_res i := 0, i+1 while i
Using `mi.new` instead of `mi.env.new` in the example below causes the error `*** panic: *** invalid mutate for Type of 'get_str#0.mi'`. This error message could possibly be improved, as it...