Title: Message Title
Henrik Lindberg commented on an issue
Puppet / Bug PUP-2314
assert_type function should handle lambda
The assert_type function was written before lambda support was added to the new function API. If called like this:

{code}
assert_type(Callable[Optional[Object]]) |$x| { }
{code}
It fails because it does not support an optional lambda being passed.

(The error message is also hard to understand - this is a separate issue).

This is easily fixed b...


--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to