buzz icon indicating copy to clipboard operation
buzz copied to clipboard

Reporter will try to render hints from previous input on the current input

Open giann opened this issue 11 months ago • 0 comments

👨‍🚀 buzz 0.5.0-9e37bc8 Copyright (C) 2021-present Benoit Giannangeli
>>> object A { data: str }
object A {
    data: str,
}
>>> final a = A{ data = "hello"};
A{
    data = "hello",
}
>>> a.data = "bye";

REPL:1:0: [E100] Compile error: Instance of `REPL.A` is not mutable
     1 ╭─ a.data = "bye";
       ┆  ┬─     ┬─
       ┆  ╰─ Instance of `REPL.A` is not mutable
       ┆        ╰─ declared here
>>>

Either stop rendering hints or correct tokens locations

giann avatar Jan 20 '25 16:01 giann