We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Struct
Data
1 parent 3178cfc commit c423646Copy full SHA for c423646
lib/rbs/ast/ruby/comment_block.rb
@@ -93,7 +93,7 @@ def self.build(buffer, comments)
93
blocks
94
end
95
96
- AnnotationSyntaxError = _ = Data.define(:location, :error)
+ AnnotationSyntaxError = _ = Struct.new(:location, :error, keyword_init: true)
97
98
def each_paragraph(variables, &block)
99
if block
0 commit comments