We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Environments:
Steps to reproduce: Try to format the following code:
var expectedTypeProp = "otherTestComponent"; var expectedLabel = StableRandom.Shared.GetString(); var expectedText = StableRandom.Shared.GetString(); var expectedDisplayName = StableRandom.Shared.GetString(); var node = JsonSerializer.Deserialize<SerializedNode>( $$""" { "props": { "type": "{{expectedTypeProp}}", "label": "{{expectedLabel}}", "text": "{{expectedText}}" }, "hidden": false, "nodes": [], "linkedNodes": {}, "displayName": "{{expectedDisplayName}}", "type": { "resolvedName": "testComponent" } } """, _options );
Expected behavior: No error is outputed
Actual behavior: CSharpier formats the code and outputs an error:
Failed syntax tree validation. ----------------------------- Original: Around Line 20 ----------------------------- "resolvedName": "testComponent" } } """, _options ); ----------------------------- Formatted: Around Line 20 ----------------------------- "resolvedName": "testComponent" } } """, _options );
The text was updated successfully, but these errors were encountered:
Fixing false positive of SyntaxCompare running on InterpolatedRawStri…
3012989
…ng that changed indentation closes #1129
Fixing false positive of SyntaxCompare running on InterpolatedRawStri… (
bcefae6
#1132) * Fixing false positive of SyntaxCompare running on InterpolatedRawString that changed indentation closes #1129 * formatting files --------- Co-authored-by: Lasath Fernando <devel@lasath.org>
Successfully merging a pull request may close this issue.
Environments:
Steps to reproduce:
Try to format the following code:
Expected behavior:
No error is outputed
Actual behavior:
CSharpier formats the code and outputs an error:
The text was updated successfully, but these errors were encountered: