-
Notifications
You must be signed in to change notification settings - Fork 565
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
Vala string templates formatting bug #4230
Comments
Why is the ", at line 7 column 89 NOT the closing of the string, beginning at column 10 |
Well, I don't know how the Vala compiler works, but in the string template
int a = 6, b = 7;
string s = @"$a * $b = $(a * b)"; // => "6 * 7 = 42" |
In the following Vala example the string argument of
date.format
inside a string template gets formatted (spaces are added), which shouldn't be the case and makes the URL invalid.test file:
generated result:
expected result: same as test file
version: Uncrustify-0.78.1-104-b18da33ad
The issue was observed in workbenchdev/demos#69
The text was updated successfully, but these errors were encountered: