| 26 May 2026 | |||
| Geth | ¦ rakudo/lizmat-7: These roles do not consume the Raku::Common class, so need to use | 13:19 | |
| ¦ rakudo/lizmat-7: the old "r" interface. | |||
| ¦ rakudo/lizmat-7: review: github.com/rakudo/rakudo/commit/5d61a1afef | |||
| japhb | lizmat: dev.to/lizmat/moving-printf-format...rward-1m3p refers to '2023.06' (rather than '2026.06') in the last paragraph | 16:31 | |
| lizmat | japhb: that's because it's from 3 years ago | 19:14 | |
| most of the work was done then, but basically stalled because of the synthetic RakuAST precomp issue | |||
| lizmat now wonders why RakuAST::Trait::Is needs a RakuAST::Name instead of just a str | 19:15 | ||
| aah... because of something like "is IO::Path" | 19:17 | ||
| check | |||
| ugexe: so I think we have a chicken/egg problem with creating accessors in RakuAST | 19:56 | ||
| Package::Attachable.PRODUCE-META-ATTACHABLES | |||
| so: where it says create method POPULATE here | 19:57 | ||
| I can create the AST for such a method from the info in $!attached-attributes | |||
| but how do I get a meta-object from that to do a $how.add_method with ? | 19:58 | ||
| so it feels like it is too late, as everything else has been resolved already at that point, and the method doesn't take a resolver | 19:59 | ||
| hurufu | hurufu left | 21:50 | |
| hurufu | hurufu joined | ||
| ugexe | Take a look at RakuAST::Method::AttributeAccessor and the way CompilerServices.generate_accessor drives it | 22:31 | |
| hurufu | hurufu left | 22:55 | |
| ugexe | I assume the step you're missing is calling .to-begin-time($resolver, $context) before .meta-object | 23:56 | |
| 27 May 2026 | |||
| hurufu | hurufu joined | 04:46 | |
| hurufu | hurufu left | 04:47 | |
| hurufu | hurufu joined | 04:49 | |
| hurufu | hurufu left | 04:54 | |
| hurufu | hurufu joined | 04:58 | |