Skip to content

Add support for ref struct, ref readonly locals/returns - #114

Merged
DustinCampbell merged 4 commits into
dotnet:masterfrom
idafi:more_ref_semantics
May 10, 2018
Merged

DustinCampbell merged 4 commits into
dotnet:masterfrom
idafi:more_ref_semantics

Conversation

@idafi

@idafi idafi commented May 7, 2018

Copy link
Copy Markdown

No description provided.

@DustinCampbell DustinCampbell left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Just one small nit if you don't mind.

Comment thread src/csharp.tmLanguage.yml
ref-modifier:
name: storage.modifier.cs
match: \b(ref)\b
readonly-modifier:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add a line break before this new rule to be consistent with the rest of the grammar?

@idafi

idafi commented May 9, 2018

Copy link
Copy Markdown
Author

sure; there you go

@DustinCampbell

Copy link
Copy Markdown
Member

Thanks!

@DustinCampbell
DustinCampbell merged commit 25d7b2e into dotnet:master May 10, 2018
DustinCampbell added a commit to DustinCampbell/vscode that referenced this pull request May 10, 2018
This update adds support for ref structs, and ref readonly locals and return types. Contributed by
[@idafi](https://github.com/idafi) with dotnet/csharp-tmLanguage#114.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants