1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

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

This commit is contained in:
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

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
}