Skip to content

Change Attributes Syntax from @@Attr to @[Attr] #5928

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

Closed
wants to merge 2 commits into from

Conversation

beberlei
Copy link
Contributor

@beberlei beberlei commented Aug 3, 2020

This patch demonstrates use of the proposed @[Attr] syntax in https://wiki.php.net/rfc/shorter_attribute_syntax_change

The patches for <<Attr>> and #[] would look exactly the same, using their respective syntax.

@beberlei beberlei force-pushed the AtRustySyntax branch 2 times, most recently from 9c14d8d to c69e2de Compare August 7, 2020 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants