Open ghost opened 2 years ago
In this context the expr is being parsed without the context evaluation. However, when you complete the syntax properly, you are receive the expected error.
error: infix expr: cannot use `map[void]int` (right expression) as `int`
V version: 0.2.4 36ec47c OS: ArchLinux
What did you do?
What did you expect to see? error message like
x > { is wrong
What did you see instead?