Closed JSAbrahams closed 4 years ago
We cannot have mutable identifiers within tuples.
def (mut a, b) <- (10, 10)
The above is parsed, and the type checker correctly identifies a as mutable and b as immutable.
a
b
Description of Bug
We cannot have mutable identifiers within tuples.
How to Reproduce
def (mut a, b) <- (10, 10)
Expected behaviour
The above is parsed, and the type checker correctly identifies
a
as mutable andb
as immutable.