class Puppet::Pops::Types::UnresolvedTypeReference

@api private

Attributes

unresolved[R]

Public Class Methods

new(path, unresolved) click to toggle source
Calls superclass method Puppet::Pops::Types::Mismatch::new
    # File lib/puppet/pops/types/type_mismatch_describer.rb
226 def initialize(path, unresolved)
227   super(path)
228   @unresolved = unresolved
229 end

Public Instance Methods

==(o) click to toggle source
Calls superclass method Puppet::Pops::Types::Mismatch#==
    # File lib/puppet/pops/types/type_mismatch_describer.rb
231 def ==(o)
232   super.==(o) && @unresolved == o.unresolved
233 end
hash() click to toggle source
    # File lib/puppet/pops/types/type_mismatch_describer.rb
235 def hash
236   @unresolved.hash
237 end
message(variant, position) click to toggle source
    # File lib/puppet/pops/types/type_mismatch_describer.rb
239 def message(variant, position)
240   "#{variant}#{position} references an unresolved type '#{@unresolved}'"
241 end