Skip to content

Conversation

@yui-knk
Copy link
Contributor

@yui-knk yui-knk commented Nov 13, 2025

This commit introduces two changes into grammar.

  1. Make qualified const with brace block as primary then Foo::Bar {} + 1 is valid syntax
  2. Make qualified const with do block as method call (primary) then Foo::Bar do end + 1 is valid syntax

@yui-knk yui-knk requested a review from nobu November 13, 2025 03:34
@launchable-app

This comment has been minimized.

This commit introduces two changes into grammar.

1. Make qualified const with brace block as primary
   then `Foo::Bar {} + 1` is valid syntax
2. Make qualified const with do block as method call (primary)
   then `Foo::Bar do end + 1` is valid syntax
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