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

Missing interpolated strings support #953

Open
al1-ce opened this issue May 24, 2024 · 2 comments
Open

Missing interpolated strings support #953

al1-ce opened this issue May 24, 2024 · 2 comments

Comments

@al1-ce
Copy link

al1-ce commented May 24, 2024

Having interpolated strings in file will show an error

Example, running dscanner lint on file containing this line:

prompt(i"Set cursor to \"$(cursorName)\"?".text, false);

Shows

setcursor.d(69:18): Error: Expected `)` instead of stringLiteral `"Set cursor to \"$(cursorName)\"?"` ()
setcursor.d(69:65): Error: Primary expression expected ()
@WebFreak001
Copy link
Member

there is an open PR in libdparse for this, feel free to give input there for spec deviations: dlang-community/libdparse#510

@al1-ce
Copy link
Author

al1-ce commented May 24, 2024

Oh, didn't knew about that pr
I'll check it out

I'll keep this issue open for now for status and stuff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants