🦋 Welcome to the IRC channel of the core developers of the Raku Programming Language (raku.org #rakulang). This channel is logged for the purpose of history keeping about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Logs available at irclogs.raku.org/raku-dev/live.html | For MoarVM see #moarvm
Set by lizmat on 8 June 2022.
08:42 sena_kun joined 09:10 sena_kun left
Geth rakudo/main: 093009a0de | (Elizabeth Mattijsen)++ | 4 files
RakuAST: adding support for comments (Part 1/N)

  - adds an action for comment:sym<#>
  - adds a RakuAST::Statement::Comment class, along with its
   .raku and .DEPARSE versions
  - attempts to attach lines with just comments, but fails
That last one needs more thought still. Also how to handle comments that are part of a statement.
13:14
14:12 lizmat left 14:15 lizmat joined 17:47 sena_kun joined
patrickb m: enum E <one>; role R { has $.e = one; method m() { say $!e ~~ one; } }; R.new.m; 21:45
camelia False
patrickb m: enum E <one>; class R { has $.e = one; method m() { say $!e ~~ one; } }; R.new.m;
camelia True
patrickb ^ Is this a known bug?
lizmat m: enum E <one>; role R { has $.e = one; method m() { say $!e } }; R.new.m; 21:57
camelia one
22:07 finanalyst left 22:28 sena_kun left