-
Notifications
You must be signed in to change notification settings - Fork 465
[SE-0474] Support yielding borrow and yielding mutate accessors
#3189
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
base: main
Are you sure you want to change the base?
Changes from 15 commits
8f04c49
db41cc5
498f54e
3254ca1
07dde5d
3303255
c26399c
1281ae4
41478f4
e513ec5
159d886
57e865e
83de7dc
b5b84d9
a8b4fa0
87491c2
e2e7a31
26b36e9
22d3ded
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -67,7 +67,7 @@ extension AccessorDeclListSyntax: SyntaxParseable { | |||||||||||
| } makeMissing: { remainingTokens, arena in | ||||||||||||
| return RawAccessorDeclSyntax( | ||||||||||||
| attributes: RawAttributeListSyntax(elements: [], arena: arena), | ||||||||||||
| modifier: nil, | ||||||||||||
| modifiers: RawDeclModifierListSyntax(elements: [], arena: arena), | ||||||||||||
|
Comment on lines
69
to
+70
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can save a few bytes in the syntax tree by using a shared empty collection. Also for
Suggested change
|
||||||||||||
| accessorSpecifier: RawTokenSyntax(missing: .keyword, text: "get", arena: arena), | ||||||||||||
| parameters: nil, | ||||||||||||
| effectSpecifiers: nil, | ||||||||||||
|
|
||||||||||||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.