-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
Fantomas does not support extended interpolated strings #3012
Comments
Thanks for the report Alex! |
So, this is a lexer problem, reported dotnet/fsharp#16418. |
While we wait for the compiler to fix the range issue here, would it be feasible to calculate the correct range based on the source text & e.g. taking the number of |
You will wait forever if you expect someone else to fix the compiler. The team isn't going to pick this up, so I would suggest you take a stab at fixing this problem in the lexer. |
Issue created from fantomas-online
Code
$$$"""{{{5}}}"""
Result
$$$"""{{{5}"""
Problem description
Fantomas eats braces
Options
Fantomas main branch at 2023-12-06T16:47:58Z - 0f8ee23
Default Fantomas configuration
Did you know that you can ignore files when formatting by using a .fantomasignore file?
PS: It's unlikely that someone else will solve your specific issue, as it's something that you have a personal stake in.
The text was updated successfully, but these errors were encountered: