🦋 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.
00:00 sena_kun left 00:55 AlexDaniel left 01:00 bloatable6 left, bloatable6 joined 01:08 nebuchadnezzar left 02:59 JRaspass left 03:00 JRaspass joined 03:33 hythm joined 03:41 eof left 03:42 summerisle joined 04:57 hythm left 05:14 jdv left, jdv joined 05:59 gfldex left, gfldex joined 06:13 SmokeMachine left, SmokeMachine joined 06:48 lizmat_ joined, RakuIRCLogger left 06:50 Geth left, lizmat left 06:51 Geth joined 07:00 sivoais joined 07:28 ilogger2 joined 07:33 nebuchadnezzar joined 08:17 RakuIRCLogger joined 08:18 lizmat_ left, lizmat joined 08:59 samebchase left 09:01 samebchase joined 09:30 camelia left, sena_kun joined
lizmat m: dd Foo::Bar::Baz # vrurg shouldn't that complain about Bar missing in Foo? 09:32
evalable6 (exit code 1) Could not find symbol '&Baz' in 'GLOBAL::Foo::Bar'
in block <unit> at /tmp/FKq9zJJZlu line 1
nemokosch m: dd Foo::Bar::Baz:: 09:36
evalable6 (exit code 1) Could not find symbol '&Baz' in 'GLOBAL::Foo::Bar'
in block <unit> at /tmp/D9_VRgpYfC line 1
Raku eval Exit code: 1 Could not find symbol '&Baz' in 'GLOBAL::Foo::Bar' in block <unit> at main.raku line 1
nemokosch m: dd Foo::Bar::Baz::HowMuch
evalable6 (exit code 1) Could not find symbol '&HowMuch' in 'GLOBAL::Foo::Bar::Baz'
in block <unit> at /tmp/BOBXya27jz line 1
Raku eval Exit code: 1 Could not find symbol '&HowMuch' in 'GLOBAL::Foo::Bar::Baz' in block <unit> at main.raku line 1
nemokosch some autovivification magic probably 🤔
ab5tract m: dd Foo::Bar::Baz; dd Foo::Bar 10:00
evalable6 (exit code 1) Could not find symbol '&Baz' in 'GLOBAL::Foo::Bar'
in block <unit> at /tmp/DV2x4oodeH line 1
ab5tract So if I’m reading that right, the other namespaces get vivified… 10:02
lizmat m: try Foo::Bar::Baz; dd Foo::Bar 10:04
evalable6 (exit code 1) Could not find symbol '&Bar' in 'GLOBAL::Foo'
in block <unit> at /tmp/__IJzn2Fez line 1
ab5tract m: Q| dd Foo::Bar::Baz; dd Foo::Bar |.AST.EVAL.say 10:05
evalable6 (exit code 1) Could not find symbol '&Baz' in 'GLOBAL::Foo::Bar'
in block <unit> at /tmp/vltbidGMbi line 1
ab5tract ah, so the try seems to short-circuit early, but it still vivifies.. 10:06
10:52 sena_kun left, sena_kun joined 11:08 rba left, rba joined
Geth rakudo/main: a3bbb380f7 | (Elizabeth Mattijsen)++ | 2 files
RakuAST: the (s|w)orry-ad-hoc methods were removed

Sadly this was not detected earlier as the roast tests only check for dying, not why the code died.
This is a preliminary fix: a better way to convey worries / sorries from HLL code is needed.
11:44
lizmat m: try Foo::Bar::Baz; dd Foo::.keys 11:46
evalable6 (exit code 1) 4===SORRY!4=== Error while compiling /tmp/GPhM3NCuTn
Undeclared name:
Foo used at line 1
lizmat m: package Foo { }; try Foo::Bar::Baz; dd Foo::.keys
evalable6 ("Bar",).Seq
lizmat indeed autoviv
11:53 leont left, leont joined
nemokosch this is among those things... 12:04
Geth Trait-IO/main: cdf074c111 | (Márton Polgár)++ (committed using GitHub Web editor) | .github/workflows/test.yml
Renovated workflow
14:26
vrurg lizmat: With regard to pseudostashes, I was raising a question on wether Foo::<Bar> must be a Failure when Bar is missing. But it never got discussed. Otherwise my point is that yes, it better complain earlier. 14:30
nemokosch great 14:32
vrurg But pseudos is a run-time (mostly) logic. I don't remember all the details about what the compiler does when resolves long names.
nemokosch rakudo.org killed all the CI workflows
14:34 ilogger2 left, ilogger2_ joined 16:02 [Coke] left, [Coke] joined 16:24 ugexe left, ugexe joined 16:31 AlexDaniel joined 16:42 AlexDaniel left 17:43 MasterDuke left, kjp left, kjp joined 17:51 guifa_ left 17:52 guifa joined 19:32 sena_kun left 19:41 nine left 19:42 nine joined 22:10 dogbert17 left 22:48 patrickb left 22:49 patrickb joined 23:37 kjp left 23:39 kjp joined 23:46 Voldenet left 23:47 Voldenet joined