You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
V version: V 0.1.21 a29c80c OS : Linux 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) x86_64 GNU/Linux
What did you do ?
I am used to use double quotes as string delimiters. When I try syntax interpolation, it breaks with double quoted string but works with single quoted ones.
fnmain() {
test:="testing"println("${test}")
}
What did you expect to see?
$ v run test.v
testing
What did you see instead?
$ v run test.v
check()
next token = `eof`
addr2line: 'v': No such file
v(+0x3e6bd) [0x5568e79146bd]
addr2line: 'v': No such file
v(+0x23609) [0x5568e78f9609]
addr2line: 'v': No such file
v(+0x20858) [0x5568e78f6858]
addr2line: 'v': No such file
v(+0x4424c) [0x5568e791a24c]
addr2line: 'v': No such file
v(+0x498da) [0x5568e791f8da]
addr2line: 'v': No such file
v(+0x49296) [0x5568e791f296]
addr2line: 'v': No such file
v(+0x48f3c) [0x5568e791ef3c]
addr2line: 'v': No such file
v(+0x4810c) [0x5568e791e10c]
addr2line: 'v': No such file
v(+0x4842b) [0x5568e791e42b]
addr2line: 'v': No such file
v(+0x42692) [0x5568e7918692]
addr2line: 'v': No such file
v(+0x42400) [0x5568e7918400]
addr2line: 'v': No such file
v(+0x4032a) [0x5568e791632a]
addr2line: 'v': No such file
v(+0x3f9df) [0x5568e79159df]
addr2line: 'v': No such file
v(+0x1f067) [0x5568e78f5067]
addr2line: 'v': No such file
v(+0x3b409) [0x5568e7911409]
addr2line: 'v': No such file
v(+0x2dc03) [0x5568e7903c03]
addr2line: 'v': No such file
v(+0x2e1b7) [0x5568e79041b7]
addr2line: 'v': No such file
v(+0x65f28) [0x5568e793bf28]
addr2line: 'v': No such file
v(+0x67689) [0x5568e793d689]
??:0: | /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7fc0b295509b]
addr2line: 'v': No such file
v(+0x249a) [0x5568e78d849a]
test.v:1:0: expected `)` but got `eof`
1| fn main() {
^
2| test := "testing"
3| println("${test}")
The C temp file seems truncated, (yes, there is really no final brace :)) :
V version: V 0.1.21 a29c80c
OS : Linux 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) x86_64 GNU/Linux
What did you do ?
I am used to use double quotes as string delimiters. When I try syntax interpolation, it breaks with double quoted string but works with single quoted ones.
What did you expect to see?
What did you see instead?
The C temp file seems truncated, (yes, there is really no final brace :)) :
The text was updated successfully, but these errors were encountered: