🦋 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.
[Coke] oof. azure costs this month for blin & release are going to be higher than usual. I need to consider getting a linux box to do this stuff on at home. 01:29
Geth rakudo/main: a3d6cb8365 | (Daniel Green)++ | 2 files
RakuAST: Throw right exceptions for declaring numeric and match variables

Gets t/spec/S15-literals/identifiers.t passing and two individual tests in S32-exceptions/misc2.t.
06:51
rakudo/main: aad9c3bd36 | niner++ (committed using GitHub Web editor) | 2 files
Merge pull request #5837 from MasterDuke17/rakuast_throw_right_exceptions_for_numeric_and_match_variables

RakuAST: Throw right exceptions for declaring numeric and match variables
08:01 sena_kun joined
Geth rakudo/main: 4 commits pushed by (Stefan Seifert)++ 08:31
nine We're at 1332 thanks to MasterDuke++ 08:35
09:01 sena_kun left
Geth rakudo/main: c10b50ef45 | (Stefan Seifert)++ | src/Raku/Grammar.nqp
RakuAST: avoid error trying to report X:Parameter::InvalidType

The Exception code doesn't cope well with the type name being a Match object
09:13
09:44 rakkable left 09:45 rakkable joined 10:52 finanalyst joined 11:23 JimmyZhuo joined
Geth rakudo/main: 70416f1d07 | (Jimmy Zhuo)++ (committed using GitHub Web editor) | src/Raku/ast/signature.rakumod
Change := and =:= to == (#5838)
12:08
rakudo/main: 5 commits pushed by (Stefan Seifert)++ 12:13
nine OMG finally t/spec/S32-exceptions/misc.t is done!
1333
JimmyZhuo that's a lot of work!
nine 68 (!) separate fixes for that one file 12:15
JimmyZhuo m: 12:16
m: 'use attributes :U; class { has Int:U $.a = Str }.new
camelia ===SORRY!=== Error while compiling <tmp>
Unable to parse expression in single quotes; couldn't find final "'" (corresponding starter was at line 1)
at <tmp>:1
------> es :U; class { has Int:U $.a = Str }.new<HERE><EOL>
expecting any of:
JimmyZhuo m: use attributes :U; class { has Int:U $.a = Str }.new
camelia Type check failed in assignment to $!a; expected Int:U but got Str (Str)
in block <unit> at <tmp> line 1
JimmyZhuo m: class { has Int:U $.a = Str }.new
camelia Type check failed in assignment to $!a; expected Int:U but got Str (Str)
in block <unit> at <tmp> line 1
JimmyZhuo 'use attributes :U;', looks likes it's useless now. 12:17
Xliff_ nine: 4 more spec tests for greatness! 12:24
nine hah!
Xliff_ :)
nine Oh no....no....no, NO! 12:32
There is a t/spec/S32-exceptions/misc2.t 12:33
# You failed 69 tests of 265
lizmat looks like an issue in throws-like? 12:38
maybe not: 12:39
what => "Variable" instead of what => "attribute"
nine Nah, it's just a lot of details to get right 12:45
That one's likely because attributes are also just VarDeclaration::Simple
[Coke] Looks like Jimmy's commit was also rakuast. 13:00
JimmyZhuo yeah 13:02
lizmat argh... sorry [Coke]: should have paid attention when I merged it 13:03
[Coke] no worries for me - Much easier when processing the commits as we go instead of at month end. 13:16
releasable6: next
releasable6 [Coke], Next release in ≈17 days and ≈5 hours. 1 blocker. 133 out of 133 commits logged
[Coke], Details: gist.github.com/82d0c2a74237aa29e3...626c8954a8
finanalyst [Coke] I refactored editing, please try new-raku again 13:17
[Coke] m: say 108/133 # percentage of those commits that are rakuast
camelia 0.81203
[Coke] 101-basics:920 Uncaught TypeError: Cannot set properties of null (setting 'checked') at HTMLDocument.<anonymous> (101-basics:920:21) 13:19
(anonymous) @ 101-basics:920
that on page load. clicking edit does nothing
(chrome)
finanalyst [Coke] Thanks. looking again 13:20
[Coke] oh, you also sent an email. replied there with this and the chrome error 13:21
er, firefox 13:22
finanalyst [Coke] I looked again at 920, its not related to the edit change.
Its related to search options. I thought you had looked at seach before. 13:23
[Coke] I did, yes. 13:24
the edit button doesn't do anything, I'm reporting the one error I see in console.
search works on that page. 13:25
finanalyst good search works 13:27
[Coke] now seeing some Uncaught InvalidStateError: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state. at renderSocket.onopen (101-basics:695:38)
finanalyst thats more understandable 13:28
does clicking on 'edit' open a modal page? 13:29
[Coke] I cant get the modal window to open at all on my Android device. The search options are also set in a modal window 13:34
13:47 JimmyZhuo left
nine lizmat: actually it's a pretty stupid thing: 13:51
m: say X::Attribute::Undeclared.new.what
camelia Variable
lizmat heh 13:52
Geth rakudo/main: 3c50326825 | (Stefan Seifert)++ | 2 files
RakuAST: set .what on X::Attribute::Undeclared correctly

Defaults to 'Variable' otherwise
13:54
rakudo/main: fa13ca1bbd | (Stefan Seifert)++ | src/Raku/ast/variable-declaration.rakumod
RakuAST: use full names when complaining about undeclared placeholders

Complain about $^x instead of just $x when it's undeclared.
14:06
16:24 codesections joined 16:43 codesections left 16:52 codesections joined 17:08 codesections1 joined 17:09 codesections left, codesections1 is now known as codesections 17:15 codesections left
[Coke] , after complaining about azure costs, get an email about spot virtual machines that are much cheaper but can be shut off. 17:16
nine So Microsoft is reading our IRC logs? 17:20
[Coke] heh 17:24
This client is running on an old mac mini, not in azure, so I hope not. :)
Does make me want to make blin runs resumable. 17:34
nine If only all the effort that was put into blin would have benefited news.perlfoundation.org/post/grant...ration_bot instead. Then we'd not have to pay anything at all, have a full ecosystem CI run on every push and have it run highly parallel. 17:37
Oh and we'd have much better coverage of native dependencies. 17:38
17:44 [Coke] left, [Coke] joined
[Coke] Sorry, what all effort? the effort I spent getting blin to work for someone other than the single release manager? 17:46
You're right, shame that was.
(apologies if that's not what you meant, but that's what I heard.)
AFK for a bit 17:49
nine Blin did not write and maintain itself 17:50
Of course you're trying to make the best of the situation. I'm lamenting that we got here in the first place. That wrong turn was taken long ago. 17:53
17:57 finanalyst left
lizmat nine: just found that "my Str sub foo { }" loses the Str in RakuAST 18:13
assuming this winds up in token routine-declarator:sym<sub> 18:15
and then into rule routine-def 18:16
but I can't seem to find where the "Str" is parsed in that sequence
what am I missing ?
18:17 notna joined
lizmat anyways, that may be LHF for you 18:20
nine It's parsed by token scoped and ends up in $*OFTYPE
lizmat aha! 18:21
thanks! 18:22
looks further into it
ah, the absence of () triggers the issue 18:29
[Coke] nine (long ago) thanks for clarifying, I appreciate it. 18:42
18:48 notna left 19:03 notna joined 19:04 notna left
Geth rakudo/main: 00894429c1 | (Stefan Seifert)++ | 3 files
RakuAST: prohibit placeholder variables in blocks that can't have a signature
19:23
rakudo/main: 524ba1b27c | (Stefan Seifert)++ | src/Raku/ast/variable-declaration.rakumod
RakuAST: prohibit placeholder variables in the mainline
rakudo/main: 37fbd041fc | (Stefan Seifert)++ | 2 files
RakuAST: prohibit placeholder variables in attribute initializers
rakudo/main: ccc430b14f | (Stefan Seifert)++ | src/Raku/ast/signature.rakumod
RakuAST: fix check for default on slurpy arg

  $!slurpy is never concrete. We just set a different type object
20:45
rakudo/main: 710315db38 | (Stefan Seifert)++ | src/Raku/ast/signature.rakumod
RakuAST: fix suggestion of named parameter in error message
rakudo/main: 7bacf79987 | (Stefan Seifert)++ | src/Raku/Grammar.nqp
RakuAST: fix reporting trait/post constraint after default on parameter
20:56 Xliff_ left
Geth rakudo/main: ed8f17f80c | (Stefan Seifert)++ | src/Raku/ast/code.rakumod
RakuAST: report redeclaration of non-proto when declaring multi with same name
21:07
rakudo/main: b429f9fc21 | (Stefan Seifert)++ | 2 files
RakuAST: use user-visible name when reporting re-declaration of routines
nine 54 failures remaining in t/spec/S32-exceptions/misc2.t 21:08
22:14 sena_kun joined 23:24 sena_kun left