lib/raap/value/intersection.rb in raap-0.5.0 vs lib/raap/value/intersection.rb in raap-0.6.0
- old
+ new
@@ -27,14 +27,14 @@
interfaces = type.types.select do |t|
t.instance_of?(::RBS::Types::Interface)
end
interfaces.each do |interface|
- Interface.define_method_from_interface(self, interface, size:)
+ Interface.define_method_from_interface(self, interface, size: size)
end
end
type = ::RBS::Types::ClassInstance.new(name: TypeName(base.name), args: [], location: nil)
- SymbolicCaller.new(Type.call_new_from(c, type, size:)).eval
+ SymbolicCaller.new(Type.call_new_from(c, type, size: size)).eval
end
end
end
end