I'm wondering about how the sigil-invariance rule interacts with attributes.
class Foo {
attr $bar;
attr @bar;
method baz {
return @.bar[$.bar]; # sigils disambiguate
}
method frob ($self:) {
return $self.bar[$self.bar]; # uh-oh....
}
}
Is this a problem, or do attributes share a namespace, making the two bar
attributes above a redefinition?
Trey
