-
Notifications
You must be signed in to change notification settings - Fork 128
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 new #729
Conversation
133394b
to
77ae3a0
Compare
Signed-off-by: Heinz N. Gies <heinz@licenser.net>
Signed-off-by: Heinz N. Gies <heinz@licenser.net>
Signed-off-by: Heinz N. Gies <heinz@licenser.net>
Signed-off-by: Heinz N. Gies <heinz@licenser.net>
Signed-off-by: Heinz N. Gies <heinz@licenser.net>
7f2f835
to
b9a481b
Compare
Question that comes to mind is: What error will a string like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test error messages look good, so just one issue with me understanding the logic at one point. Otherwise LGTM!
Good question :D and great catch I didn't think about that, will add a test tomorrow! |
Signed-off-by: Heinz N. Gies <heinz@licenser.net>
Signed-off-by: Heinz N. Gies <heinz@licenser.net>
Signed-off-by: Heinz N. Gies <heinz@licenser.net>
b5e363e
to
7a59a06
Compare
I added a new (nicer) error for the "#{}" case 👍 good catch @mfelsche ! |
Signed-off-by: Heinz N. Gies <heinz@licenser.net>
57be38d
to
9982263
Compare
@@ -0,0 +1,4 @@ | |||
Error: | |||
1 | "#{}" | |||
| ^^^ You have an interpolation without content. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😻
Error: | ||
4 | end; | ||
5 | | ||
6 | boom(1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💥
Pull request
Description
This implements the RFC for string interpolation
Related
Checklist