Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

string interpolation doesn't work with " #2550

Closed
ssharish opened this issue Oct 26, 2019 · 2 comments
Closed

string interpolation doesn't work with " #2550

ssharish opened this issue Oct 26, 2019 · 2 comments
Labels
Bug This tag is applied to issues which reports bugs.

Comments

@ssharish
Copy link

V version:
V 0.1.21 cba12d0
OS:
OSX High Sierra

What did you do?

fn main() {
  aa := 12
  ak := 18

  println("Is AA major? ${aa >= 18}")
  println('Is AK major? ${ak >= 18}')

}

What did you expect to see?

Is AA major? 0
Is AK major? 1

What did you see instead?

Is AA major? 0)
  println('Is AK major? 1
@ssharish ssharish added the Bug This tag is applied to issues which reports bugs. label Oct 26, 2019
@medvednikov
Copy link
Member

String interpolation is broken in "" strings right now.

@medvednikov medvednikov changed the title println also prints itself string interpolation doesn't work with " Oct 30, 2019
@medvednikov
Copy link
Member

Duplicate: #2479

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This tag is applied to issues which reports bugs.
Projects
None yet
Development

No branches or pull requests

2 participants