Method: Puppet::Pops::Types::PAnyType#check_self_recursion

Defined in:
lib/puppet/pops/types/types.rb

#check_self_recursion(originator) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Called from the ‘PTypeAliasType` when it detects self recursion. The default is to do nothing but some self recursive constructs are illegal such as when a `PObjectType` somehow inherits itself

Parameters:

Raises:

  • Puppet::Error if an illegal self recursion is detected



182
183
# File 'lib/puppet/pops/types/types.rb', line 182

def check_self_recursion(originator)
end