-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement parsing for records (#40467)
As agreed in LDM, the specification requires that a data contextual keyword be present in front of the class and a parameter list to be present after the identifier, for the type to be a record. The absence of either of these two elements will be a semantic error, not a parsing error.
- Loading branch information
Showing
37 changed files
with
1,212 additions
and
412 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
370 changes: 262 additions & 108 deletions
370
src/Compilers/CSharp/Portable/Generated/Syntax.xml.Internal.Generated.cs
Large diffs are not rendered by default.
Oops, something went wrong.
64 changes: 30 additions & 34 deletions
64
src/Compilers/CSharp/Portable/Generated/Syntax.xml.Main.Generated.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.