]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
(MODULES-1473) Deprecate type() function for new parser
authorHunter Haugen <hunter@puppetlabs.com>
Tue, 16 Dec 2014 00:11:10 +0000 (16:11 -0800)
committerHunter Haugen <hunter@puppetlabs.com>
Thu, 8 Jan 2015 00:40:06 +0000 (16:40 -0800)
commit7c8ae311cade65e84df1054779a039ff906e630c
treed1d0bec00d7b74f433d72c292bee0f97ac0f3464
parent4700f16e8273b3d4a3b1e22b09c44d7ac9f74f3e
(MODULES-1473) Deprecate type() function for new parser

The `type()` function will cease to work on the new parser because 'type'
is a reserved keyword. The `type3x()` function may be used to continue
similar functionality, but will be deprecated in favor of the built-in
typing system.

The `type_of()` function has been included to introspect types in the
new parser.
.fixtures.yml [new file with mode: 0644]
.travis.yml
README.markdown
lib/puppet/functions/type_of.rb [new file with mode: 0644]
lib/puppet/parser/functions/type.rb
lib/puppet/parser/functions/type3x.rb [new file with mode: 0644]
spec/functions/type3x_spec.rb [new file with mode: 0644]
spec/functions/type_spec.rb
spec/unit/puppet/functions/type_of_spec.rb [new file with mode: 0644]