Sha256: 3418539307e966005abebc6aa1c88e1616e45573d76c27a16fe1f11a1e8dabbf
Contents?: true
Size: 405 Bytes
Versions: 2
Compression:
Stored size: 405 Bytes
Contents
module Yoda module Typing module Tree class Rescue < Base # @!method node # @return [AST::RescueNode] # @return [Types::Base] def infer_type type = infer_child(node.body) node.rescue_clauses.each { |rescue_clause| infer_child(rescue_clause) } infer_child(node.else_clause) type end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yoda-language-server-0.10.1 | lib/yoda/typing/tree/rescue.rb |
yoda-language-server-0.10.0 | lib/yoda/typing/tree/rescue.rb |