lib/rbs/ast/members.rb in rbs-2.5.1 vs lib/rbs/ast/members.rb in rbs-2.6.0
- old
+ new
@@ -280,11 +280,12 @@
type: type,
ivar_name: ivar_name,
kind: kind,
annotations: annotations,
location: location,
- comment: comment
+ comment: comment,
+ visibility: visibility
}.to_json(state)
end
end
class AttrAccessor < Base
@@ -297,11 +298,12 @@
type: type,
ivar_name: ivar_name,
kind: kind,
annotations: annotations,
location: location,
- comment: comment
+ comment: comment,
+ visibility: visibility
}.to_json(state)
end
end
class AttrWriter < Base
@@ -314,10 +316,11 @@
type: type,
ivar_name: ivar_name,
kind: kind,
annotations: annotations,
location: location,
- comment: comment
+ comment: comment,
+ visibility: visibility
}.to_json(state)
end
end
module LocationOnly