cloudsmith/geppetto — Issue #256: Class parameters incorrectly marked as uninitialized
Author: athak
Created: 2011-12-21 02:08:37+00:00
State: open

Hi,
when declaring class parameters with default values coming from an inherited class, Geppetto incorrectly marks them as uninitialized. For example:

class foo {
$a = 'blah'
}

class bar (
$b = $foo::a <-- marked as error/uninitialized
) inherits foo {
# more code
}

Although not a deal-breaker, it is confusing since manifests are marked as with errors when there is nothing wrong with them in the first place and makes it hard to deal with/discern the manifests that truly have errors.

Cheers,
Atha