Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
Description
The TypeCalcuclator, when inferring the type of an arbitrary value, will traverse the class inheritance chain when resolving types. The traversal stops when a class is recognized and when all else fails (and class Object is reached), the type is considered to be a Runtime type.
This works for most cases, but if someone would derive from a known class, such as Hash or Array, then the type of such instances will be inferred to Hash or Array, which is wrong. Since they are unkown classes, the inferred type must be Runtime.
Attachments
Issue Links
- blocks
-
PUP-7155 PCore resource output improperly quoted
-
- Closed
-