-
Notifications
You must be signed in to change notification settings - Fork 1
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
An escaped String and a string seem identical #81
Comments
About the second expamle:
Where the backtick So the solution could be simply to check the Extent for backtics, and if they are present, explain them. If you are interested, this is not a complicated fix. This is the relevant code where this could be added: explainpowershell/explainpowershell.analysisservice/AstVisitorExplainer.cs Lines 821 to 865 in 9b2a344
A test for this could be added here: explainpowershell/explainpowershell.analysisservice.tests/Invoke-SyntaxAnalyzer.Tests.ps1 Line 9 in 9b2a344 As for the last one, that explanation is subtle, it only mentions that variables would be expanded (if they were present). It's just there to explain the difference between single quotes and double qoutes. Do you feel it's confusing? |
With
For the second , the escape character is not explained
For the last : "String in which variables would be expanded.", but it is just a string whitout variable.
The text was updated successfully, but these errors were encountered: