sorear/niecza — Issue #93: has $.foo = $.bar needlessly rejected
Author: sorear
Created: 2011-12-18 19:09:11+00:00
State: open

```
02:37 < moritz> niecza: class A { has $.a; has $.b = $.a }
02:37 <+p6eval> niecza v12-66-g5abbd8a: OUTPUT«===SORRY!===␤␤Variable $.a used
where no 'self' is available at /tmp/KLDwQcyxJx line 1:␤------>
class A { has $.a; has $.b = ⏏$.a }␤␤Unhandled exception: Check
failed␤␤ at /home/p6eval/niecza/boot/lib/CORE.setting line…
02:38 < moritz> sorear: that error is questionable; when $.b is initialized, an
invocant needs to be somewhere, so you can just make it
available
```