File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -405,9 +405,12 @@ _ivar-member_ ::= _ivar-name_ `:` _type_
405405 | `self` `.` _ivar-name_ `:` _type_
406406 | _cvar-name_ `:` _type_
407407
408- _method-member_ ::= _visibility_ `def` _method-name_ `:` _method-types_ # Instance method
409- | _visibility_ `def self.` _method-name_ `:` _method-types_ # Singleton method
410- | `def self?.` _method-name_ `:` _method-types_ # Singleton and instance method
408+ _method-member_ ::= _method-class-member_
409+ | _method-interface-member_
410+ _method-class-member_ ::= _visibility_ `def` _method-name_ `:` _method-types_ # Instance method
411+ | _visibility_ `def self.` _method-name_ `:` _method-types_ # Singleton method
412+ | `def self?.` _method-name_ `:` _method-types_ # Singleton and instance method
413+ _method-interface-member_ ::= `def` _method-name_ `:` _method-types_ # Instance method
411414
412415_method-types_ ::= _method-type-parameters_ _method-type_ # Single method type
413416 | _method-type-parameters_ _method-type_ `|` _method-types_ # Overloading types
@@ -624,7 +627,7 @@ _module-self-types_ ::= _class-name_ _type-arguments_ `,` _module-self-types_
624627
625628_interface-decl_ ::= `interface` _interface-name_ _module-type-parameters_ _interface-members_ `end`
626629
627- _interface-members_ ::= _method-member_ # Method
630+ _interface-members_ ::= _method-interface- member_ # Method
628631 | _include-interface-member_ # Mixin (include)
629632 | _alias-member_ # Alias
630633
You can’t perform that action at this time.
0 commit comments