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
225 def initialize(path, unresolved)
226   super(path)
227   @unresolved = unresolved
228 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
230 def ==(o)
231   super.==(o) && @unresolved == o.unresolved
232 end
hash() click to toggle source
    # File lib/puppet/pops/types/type_mismatch_describer.rb
234 def hash
235   @unresolved.hash
236 end
message(variant, position) click to toggle source
    # File lib/puppet/pops/types/type_mismatch_describer.rb
238 def message(variant, position)
239   "#{variant}#{position} references an unresolved type '#{@unresolved}'"
240 end