02:15 neither left 09:41 wingfold joined 15:34 TempIRCLogger left 15:45 qorg11 left, TempIRCLogger joined 15:47 qorg11 joined 15:49 TempIRCLogger left 15:50 TempIRCLogger joined
stevied i'm looking at docs.raku.org/language/exceptions#...exceptions 17:06
what is that `:trying("zombie copy")` bit?
and why is a period tacked on to the front of that message 17:12
it just assumes, you are describing a method?
lizmat it;s just a named arg to the exception class 17:28
stevied yeah, but I don't understand why it assumes the first word in the message is a method by throwing a dot in front of it 17:31
just seems kind of weird
lizmat I'm not sure which dot you're referring to? 17:32
17:35 wingfold left
stevied in the output: `# OUTPUT: Ā«Failed to find 'foo/bar' while trying to do '.zombie copy' ` 17:35
that argument is just an arbitrary string, right? doesn't have to contain a method call, does it? 17:37
this is all the documentation has on it: docs.raku.org/type/X::IO::DoesNotExist#___top
lizmat aaaah..... ok 17:43
yeah, in normal usage, that exception *is* called with a method name
so that example basically is not so good :-(
stevied ok, yeah, I'm like what the hell is "zombie"? 17:44
lizmat yeah... perhaps make a doc issue for it
stevied k 17:45
so basically I think documentation for the trying method is needed
lizmat but there is no trying method 17:58
stevied i'm lost. what's this? docs.raku.org/type/X::IO::DoesNotE...hod_trying 17:59
18:04 discord-raku-bot left, discord-raku-bot joined
gfldex <@563790557831495691> .trying is the public accessor to an attribute in X::IO::DoesNotExist . 18:15
stevied ok. and what type is that accessor? some magic container or something? 18:16
gfldex github.com/rakudo/rakudo/blob/mast...n.pm6#L670 18:18
stevied so it doesn't look like "X::IO::DoesNotExist" runs any kind of method AFAICT 18:23
method on the string passed to it, I mean
gfldex It will call `.Str` in the string substitution. 18:25
stevied so what's the point of throwing the `.` in front of it?
lizmat that exception is thrown inside IO::Path I believe, and then the method name is passed along 18:26
see github.com/rakudo/rakudo/blob/mast...h.pm6#L756
and then github.com/rakudo/rakudo/blob/mast...h.pm6#L747
gfldex By convention `$.trying` is meant to contain a method name. 18:27
stevied ok, thanks. will take a look when I get a chance. gotta run. 18:49
18:57 jgaz joined
lizmat github.com/Raku/doc/pull/4050 # stevied 19:12
20:28 jgaz left
stevied is there an easy way to migrate modules after upgrading rakudo star? 21:12
Nemokosch is rakudo star still relevant at all? 21:33
it's kind of strange we hear about it so often when it's virtually abandoned from what I know šŸ¤”
drakonis rakubrew's the current good option 21:39
stevied abandoned? really?
i'm using the binary looks like, actually. not rakudo star bundle 21:41
i thought they were the same but apparently not 21:42
stackoverflow.com/questions/717900...mar-object 23:29