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

master
Delyan Angelov 2022-05-19 08:31:03 +03:00
parent 809b1ca3b4
commit 3d5617c4fa
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
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
}