Class: Steep::TypeInference::MethodCall::Untyped

Inherits:
Base
  • Object
show all
Defined in:
lib/steep/type_inference/method_call.rb

Instance Attribute Summary

Attributes inherited from Base

#context, #method_name, #node, #receiver_type, #return_type

Instance Method Summary collapse

Methods inherited from Base

#==, #hash, #with_return_type

Constructor Details

#initialize(node:, context:, method_name:) ⇒ Untyped

Returns a new instance of Untyped.



173
174
175
# File 'lib/steep/type_inference/method_call.rb', line 173

def initialize(node:, context:, method_name:)
  super(node: node, context: context, method_name: method_name, receiver_type: AST::Types::Any.instance, return_type: AST::Types::Any.instance)
end