fix: issue with tuple clause

It was not consuming the next case if there was no condition being checked in the clause.
Now it properly always consumes the next clause unless last clause.
This commit is contained in:
microproofs
2023-06-23 12:36:15 -04:00
parent 5362714a63
commit dbfa08a5a7
6 changed files with 50 additions and 5 deletions

View File

@@ -1,15 +1,13 @@
use other.{FFF, GGG}
test thing1() {
let x =
other.FFF
let x = other.FFF
x == FFF
}
test thing2() {
let x =
other.GGG(2)
let x = other.GGG(2)
x == GGG(2)
}