lib/rbs/parser.y in rbs-0.11.0 vs lib/rbs/parser.y in rbs-0.12.0
- old
+ new
@@ -433,17 +433,9 @@
}
method_member:
annotations attributes overload kDEF method_kind def_name method_types {
location = val[3].location + val[6].last.location
- types = val[6].map do |type|
- case type
- when LocatedValue
- type.value
- else
- type
- end
- end
last_type = val[6].last
if last_type.is_a?(LocatedValue) && last_type.value == :dot3
overload = true
val[6].pop