00:59 Kaeipi left 01:00 Kaeipi joined
Geth_ rakudo: mienaikage++ created pull request #4017:
Fix issue preventing CLI handler MAIN from having a type constraint
01:08
01:29 leont left 03:10 Kaeipi left, Kaeipi joined
Geth_ roast: vrurg++ created pull request #696:
Add tests for isa-ok matching against metaclasses
03:12
rakudo: dbf53c056f | (Vadim Belman)++ | lib/Test.rakumod
Fix for isa-ok

It was assuming that the test subject inherits from `Mu` which is sometimes incorrect. For example, it fails on
   isa-ok Any.HOW, Metamodel::ClassHOW;
... (6 more lines)
vrurg greppable6: lang-ver-before 03:19
greppable6 vrurg, Found nothing!
Geth_ roast: 1b491d146f | (Vadim Belman)++ | S24-testing/1-basic.t
Add tests for isa-ok matching against metaclasses

Primarilty to take care of `isa-ok Any.HOW, Metamodel::ClassHOW` case.
03:36
roast: 54b7dc534a | (Vadim Belman)++ (committed using GitHub Web editor) | S24-testing/1-basic.t
Merge pull request #696 from vrurg/test-isa-ok-on-HOW

Add tests for isa-ok matching against metaclasses
05:36 vrurg left 05:49 vrurg joined 05:55 sena_kun joined 07:54 domidumont joined 08:09 Altai-man joined 08:12 sena_kun left 09:00 djinni` left 09:03 djinni` joined 09:15 leont joined 09:18 MasterDuke joined
lizmat Files=1337, Tests=114195, 225 wallclock secs (29.72 usr 8.70 sys + 3117.14 cusr 297.02 csys = 3452.58 CPU) 09:31
09:57 frost-lab joined
Geth_ rakudo: e3352cdd82 | (Elizabeth Mattijsen)++ | src/core.c/Main.pm6
Better check for subness of MAIN

e0e24a8dbfd73b20697 introduced a stupid check that was intended to see if &main could do a "cando" method. This fixes the check and is a better solution than PR4017. Daniel Mita++ for spotting!
10:41
lizmat e0e24a8dbfd7 10:43
linkable6 (2020-10-12) github.com/rakudo/rakudo/commit/e0e24a8dbf Produce a better error message for my &MAIN = { }
nine lizmat: why not .isa(Sub)? 10:57
lizmat because the check should really be about whether something can do the 'cando' method ? 10:58
nine ah, ok
lizmat because that's what "my &MAIN = -> { }' triggered: 10:59
m: use nqp; dd nqp::can(-> { }. 'cando'}
camelia 5===SORRY!5=== Error while compiling <tmp>
Unsupported use of . to concatenate strings. In Raku please use: ~.
at <tmp>:1
------> 3use nqp; dd nqp::can(-> { }.7ā5 'cando'}
lizmat m: use nqp; dd nqp::can(-> { }, 'cando'}
camelia 5===SORRY!5=== Error while compiling <tmp>
Unable to parse expression in argument list; couldn't find final ')' (corresponding starter was at line 1)
at <tmp>:1
------> 3use nqp; dd nqp::can(-> { }, 'cando'7ā5}
nine Ah, that's how you could use a block as &MAIN
lizmat m: use nqp; dd nqp::can((-> { }), 'cando'}
camelia 5===SORRY!5=== Error while compiling <tmp>
Unable to parse expression in argument list; couldn't find final ')' (corresponding starter was at line 1)
at <tmp>:1
------> 3use nqp; dd nqp::can((-> { }), 'cando'7ā5}
lizmat m: use nqp; dd nqp::can((-> { }), 'cando') 11:00
camelia 1
lizmat hmmmmm
m: use nqp; dd nqp::can(({ }), 'cando')
camelia 0
lizmat anyways, yeah 11:01
gfldex wordpress says "rakuadvent.wordpress.com doesnā€™t exist". Is this intentional? 11:19
Altai-man gfldex, I think url is rakuadventcalendar.wordpress.com, no? 11:23
Was it different?
gfldex there is a redirect to raku-advent.blog/ 11:24
11:26 Kaeipi left
gfldex I'm asking because I got a first paragraph, a last paragraph and a crazy idea. Not sure yet if I can turn the crazy idea into a whole advent post. 11:27
11:27 Kaiepi joined 11:45 MasterDuke left 12:10 sena_kun joined 12:12 Altai-man left 12:42 frost-lab left
Geth_ rakudo: 2436532fdf | (Elizabeth Mattijsen)++ | 2 files
Add "is test-assertion" to some more internal test logic
12:52
lizmat afk for a few hours& 13:03
13:06 squashable6 left, squashable6 joined 14:49 squashable6 left 14:52 squashable6 joined 15:30 MasterDuke joined 15:44 squashable6 left 15:45 squashable6 joined, squashable6 left 15:48 squashable6 joined 16:09 Altai-man joined 16:12 sena_kun left 16:46 Kaiepi left 16:50 Kaiepi joined 17:12 Kaiepi left 17:15 Kaiepi joined
Geth_ roast: cf126dc2c0 | (Elizabeth Mattijsen)++ | 4 files
Untodo now passing tests

Looks like the isa-ok improvements made these tests pass, vrurg++
17:40
17:59 MasterDuke left
vrurg lizmat: thanks, I didn't have time to untodo them. 18:56
18:56 domidumont left
lizmat sure, no pb, glad to be able to do things like that :) 18:56
19:15 MasterDuke joined
Geth_ rakudo/new-versioning-starts: d2a78178af | (Elizabeth Mattijsen)++ | 2 files
Allow new versioning values

This commmit allows for several version specification alternatives
  *without* changing anything else. It would merely allow people to
refer to the new version values *now*. Allowed alternatives are:
   v2015 -> v6.c
... (6 more lines)
19:35
rakudo: lizmat++ created pull request #4018:
Allow new versioning values
[Coke] I ask this every year or so: do we have a guide on how to port nqp to another backend? 19:53
MasterDuke i think the "official" recommendation is to ask jnthn or pmurias 19:59
[Coke] step 1: learn the language i'm trying to port to, I guess. :) 20:08
MasterDuke eh, learn by doing
thinking of porting nqp to something? for fun? 20:09
20:10 sena_kun joined 20:12 Altai-man left
[Coke] to our work platform. (same reason I wanted a JVM port 10 years ago.) 20:15
MasterDuke cool. what lang? 20:19
[Coke] .NET 20:20
(looking like .NET 5, even though that's too new for work as of today)
(no one get excited, we'll see if I make it past the "hey, that'd be nifty" stage. :) 20:21
jdv79 you asked and got jvm and it wasn't enough... what will be?! 20:23
ugexe rise from your grave, Niecza 20:32
...did Niecza use nqp though?
[Coke] no 20:34
it was its own thing
it did its own bootstrapping so at some point the build used an old niecza to build itself. 20:35
the drive to get JVM pre-dated having docker everywhere.
(though interoperability is nice0 20:36
21:17 hoelzro left 21:38 MasterDuke left 22:32 squashable6 left 22:33 squashable6 joined 22:42 sena_kun left
Geth_ roast: vrurg++ created pull request #697:
Fix incorrect use of `isa-ok`
23:07
roast: 60923f7f99 | (Vadim Belman)++ | 2 files
Fix incorrect use of `isa-ok`

Must be plain `is` instead
roast: 68d4bdd453 | (Vadim Belman)++ (committed using GitHub Web editor) | 2 files
Merge pull request #697 from vrurg/test-isa-ok-on-HOW

Fix incorrect use of `isa-ok`
23:21 eater joined
Geth_ rakudo: vrurg++ created pull request #4019:
New coercion semantics branch
23:36
rakudo/raku_1285: 6a2fa586c6 | (Vadim Belman)++ (committed using GitHub Web editor) | 22 files
New coercion semantics branch (#4019)

  * The first draft of new coercion semantics
This is a research work inspired by rakudo/rakudo#1285. The following changes are included:
... (158 more lines)
23:37
linkable6 RAKUDO#1285 [open]: github.com/rakudo/rakudo/issues/1285 [RFC] Make coercers work with parametarization of roles
23:39 eater left 23:56 eater joined 23:58 eater left