stevan/p5-mop — Issue #41: should a lexical that shadows an attribute warn
Author: dagolden
Created: 2012-01-14 18:54:46+00:00
State: open

per OPW, during @stevan's talk, assume attribute "foo", should declaring "my $foo" (thus shadowing the attribute) in a method issue a warning?

My though it yes, because it's probably not intentional. (Are superclass attributes available within a method? That could be another source of conflict.)