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

parser: check types in a in b expressions

This commit is contained in:
Alexander Medvednikov
2019-12-04 22:05:36 +03:00
parent f0f62f6217
commit fb237b9e53
2 changed files with 13 additions and 2 deletions

View File

@ -0,0 +1,4 @@
a := [1,2,3]
println('hi' in a)
===output===
.vrepl.v:2:18: bad element type: `string` in `[]int`