tests: re-add the disambiguated `for (val in [TokenValue(`+`), TokenValue(`-`)]) {` test

Delyan Angelov 2022-05-19 08:31:03 +03:00 committed by Jef Roosens
parent bdc1375d00
commit 366ff17bff
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
type TokenValue = rune | u64
fn test_for_cond() {
val := `+`
for (val in [TokenValue(`+`), TokenValue(`-`)]) {
println('ok')
break
}
assert true
}