HomePhorge

(PUP-4178) Fix defined() to report non realizes class as undefined
f65783f0c533Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-4178) Fix defined() to report non realizes class as undefined

Before this, the new 4.x function would report that non included
classes were defined. This problem does not exist in the 3x version
since class references are transformed to Resource references.

The code path for Class was simply never exercised, abut when moved to
4.x. the faulty check if class existed was used instead of a check if it
was defined (i.e. realized).

This changes the 4.x function to lookup the class resouce instead of the
class definition.

Details

Provenance
Henrik Lindberg <henrik.lindberg@cloudsmith.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUc8ce62a4ba06: (PUP-4178) Move defined function to 4.x to correct behavior
Branches
Unknown
Tags
Unknown

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPUf65783f0c533: (PUP-4178) Fix defined() to report non realizes class as undefined (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Apr 21 2015, 5:57 PM