class Puppet::Pops::Types::TypeMismatchDescriber::UnresolvedTypeFinder

Attributes

unresolved[R]

Public Class Methods

new() click to toggle source
    # File lib/puppet/pops/types/type_mismatch_describer.rb
980 def initialize
981   @unresolved = nil
982 end

Public Instance Methods

visit(type, guard) click to toggle source
    # File lib/puppet/pops/types/type_mismatch_describer.rb
984 def visit(type, guard)
985   if @unresolved.nil? && type.is_a?(PTypeReferenceType)
986     @unresolved = type.type_string
987   end
988 end