Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
PUP 4.4.0
-
None
-
None
-
1
-
Language 2016-04-20
-
Bug Fix
-
Description
The following manifest:
notice(type([]))
|
notice(type({}))
|
produces the following output:
Notice: Scope(Class[main]): Array[Unit, 0, 0]
|
Notice: Scope(Class[main]): Hash[Unit, Unit, 0, 0]
|
Unit is not part of the Puppet type system and should not be displayed.
Expected output:
Notice: Scope(Class[main]): Array[Any, 0, 0]
|
Notice: Scope(Class[main]): Hash[Any, Any, 0, 0]
|
ACCEPTANCE CRITERIA
notice(type([]), type({})) |
Should produce:
Notice: Scope(Class[main]): Array[0, 0] Hash[0, 0]
|
And it is illegal to create an empty typed container:
- Array[Integer, 0, 0]
- Hash[Integer, Integer, 0, 0]