Title: Message Title
Andy Parker commented on an issue
Puppet / Bug PUP-3366
type system does not handle Enum/String compare correctly
{code}
Enum[blue] < String
{code}
should be true, but it isn't.
{code}
Enum < String
{code}
should be true but fails with a comparison of fixnum vs. integer in the type calculator.

While any enum is in fact the same as any string, it should still be considered more specific (they are not equal as types at least).

--
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 [email protected].
To post to this group, send email to [email protected].
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