forked from dotnet/fsharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parsing interpolated strings with unmatched braces (dotnet#14182)
* Pop string nesting before error in nested quotes * Cover more cases of incomplete interpolation * Add tests for unmatched curly brace Two tests for unmatched curly brace in interpolated string * Split tests into separate cases This splits two unit tests that were testing multiple cases in one go into multiple unit tests - one per each case. Note, that original tests were expecting an accurate error for each of multiple lines of malformed string literals. They would no longer pass with changes introduced by previous commits in this PR. Co-authored-by: Adam Boniecki <[email protected]>
- Loading branch information
Showing
2 changed files
with
90 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters