Perl 6 language and compiler development | Logs at colabti.org/irclogger/irclogger_log/perl6-dev | For toolchain/installation stuff see #perl6-toolchain | For MoarVM see #moarvm
Set by Zoffix on 27 July 2018.
01:00 lizmat joined, p6bannerbot sets mode: +v lizmat 01:05 lizmat left
Geth rakudo: MasterDuke17++ created pull request #2597:
Don't add concreteness guard if return value = Nil
01:31
02:14 Ven`` left 05:08 MasterDuke left 06:16 Kaiepi left, Kaiepi joined 06:17 p6bannerbot sets mode: +v Kaiepi
Geth rakudo: JJ++ created pull request #2600:
Change to actual variable name
07:08
08:10 evalable6 left 08:11 evalable6 joined, p6bannerbot sets mode: +v evalable6 09:15 [TuxCM] left 09:33 lizmat joined, p6bannerbot sets mode: +v lizmat
lizmat Files=1264, Tests=88013, 371 wallclock secs (19.91 usr 5.67 sys + 2652.10 cusr 222.14 csys = 2899.82 CPU) 09:33
09:59 robertle left
Geth rakudo: 66f746923b | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | src/core/Main.pm6
Change to actual variable name

  $? would refer to a compile-time variable which does not actually exist.
10:03
rakudo: 2b948fc38b | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | src/core/Main.pm6
Merge pull request #2600 from JJ/patch-3

Change to actual variable name
10:31 [TuxCM] joined 10:32 p6bannerbot sets mode: +v [TuxCM]
|Tux| Rakudo version 2018.12-185-g2b948fc38 - MoarVM version 2018.12-19-gec8a240e3
csv-ip5xs0.920 - 0.925
csv-ip5xs-206.802 - 7.052
csv-parser22.417 - 23.318
csv-test-xs-200.437 - 0.440
test6.984 - 7.713
test-t1.866 - 1.891
test-t --race0.831 - 0.856
test-t-2030.855 - 31.716
test-t-20 --race9.537 - 9.595
10:38
11:40 robertle joined 11:41 p6bannerbot sets mode: +v robertle 11:44 brrt joined 11:45 p6bannerbot sets mode: +v brrt 12:39 lucasb joined, p6bannerbot sets mode: +v lucasb 12:40 enno joined 12:41 p6bannerbot sets mode: +v enno 12:55 brrt left 12:58 enno left 13:01 robertle left 13:03 robertle joined 13:04 p6bannerbot sets mode: +v robertle 13:25 Ven`` joined 13:26 p6bannerbot sets mode: +v Ven``
SqrtNegInf bisectable6: old=2018.11 for 1..3 { { say $_; last } if $_ == 2 } 13:36
bisectable6 SqrtNegInf, Bisecting by output (old=2018.11 new=2b948fc) because on both starting points the exit code is 0
SqrtNegInf, bisect log: gist.github.com/b2b051babebf052ea6...d225dd6734
SqrtNegInf, (2019-01-07) github.com/rakudo/rakudo/commit/54...6f7b736104
AlexDaniel 6c: for 1..3 { { say $_; last } if $_ == 2 } 13:37
committable6 AlexDaniel, gist.github.com/43143d26c90c593cda...8121483923
AlexDaniel SqrtNegInf: yes… ticket it, please!
jnthn m: for 1..3 { { say $_; last } if $_ == 2 } 13:39
camelia True
jnthn Huh, what does a block like that with a trailing if even mean?
13:40 brrt joined
AlexDaniel `{ foo } if $x` is same as `foo if $x` 13:40
except that you can put multiple expressions in there
I do use that in my code, fwiw
SqrtNegInf Done
jnthn Wow...I highly suspect that is an accidental feature.
13:41 p6bannerbot sets mode: +v brrt
jnthn And, apparently, not part of spec 13:41
AlexDaniel greppable6: \}\sif
greppable6 AlexDaniel, 114 lines, 51 modules: gist.github.com/df00148dc77f7da44b...86ecc8b0b5
AlexDaniel jnthn: it could be part of spec, just without using the $_
jnthn Hm, possibly 13:42
AlexDaniel mentioned in the docs too: github.com/perl6/doc/blob/74189ce5....pod6#L159
and that's me using it :) github.com/perl6/whateverable/blob...le.p6#L108 13:43
jnthn I guess it kinda makes sense.
AlexDaniel I guess in many cases it makes sense to flip it around, not sure why I wrote it that way there
jnthn Yeah, even knowing it's legal, I'm doubtful I'd use it
Of course, will look into it, at least once I'm done with my current mystery :) 13:44
Geth rakudo: AlexDaniel assigned to jnthn Issue Scope flattening causes inner scope to lose value of topic variable github.com/rakudo/rakudo/issues/2601
7aa796a90e | (Daniel Green)++ | src/vm/moar/spesh-plugins.nqp

The guard set doesn't end up matching the values being passed, so the plugin is repeatedly called when it shouldn't be.
AlexDaniel SqrtNegInf: I'm curious, how did you find it? 13:45
SqrtNegInf I do daily smoke-testing on Perl 6 tasks from Rosetta-Code. Though this particular item was not part of the task itself, but my own testing procedure. 13:47
AlexDaniel interesting 13:48
SqrtNegInf TBH, though I thought the problem worth mentioning here, I replaced that particular construction. 13:49
13:49 robertle left 13:58 robertle joined 13:59 p6bannerbot sets mode: +v robertle 14:20 noname joined 14:21 p6bannerbot sets mode: +v noname
noname hi 14:21
14:22 Ven`` left 14:24 gfldex left
AlexDaniel noname: hi! 14:39
14:51 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke, Ven`` joined 14:52 p6bannerbot sets mode: +v Ven`` 14:57 MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke 15:00 Ven`` left 15:19 lucasb left
rakudo: 05cc8cd527 | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | src/vm/moar/spesh-plugins.nqp
Merge pull request #2597 from MasterDuke17/fix_R#2593

Don't add concreteness guard if return value = Nil
15:48 dogbert2_ left
timotimo MasterDuke++ 15:49
16:10 robertle left
lizmat m: dd ::("Int:D") # shouldn't that just work ? 16:11
camelia Failure.new(exception => X::NoSuchSymbol.new(symbol => "Int:D"), backtrace => Backtrace.new)
jnthn Don't think so 16:13
There's no symbol of that name
By that argument ::("Array[Int]") also should, among other things 16:14
Um, if we argued that Int:D should work, I mean.
lizmat ok, so given a string "Int", can one create the type Int:D ?
or is there no such thing ? 16:15
jnthn First resolve the string into the Int type object, and then something like Metamodel::DefiniteHOW.new_type(:base_type(::('Int')), :definite) 16:17
Well, I put the resolution of the string in there
lizmat ok, gotcha 16:23
couldn't we make a Mu.method out of that ?
jnthn No, I think MOP is appropriate here 16:26
Adding an extra method to every single object that exists is a bit much when this is the first time it's been asked for 16:27
lizmat ok 16:30
16:54 brrt left 17:14 patrickb joined 17:15 p6bannerbot sets mode: +v patrickb
lizmat m: sub a(Int:D(Any) $foo) { }; dd &a.signature.params.head 17:22
camelia Parameter $foo = Int:D(Any):D $foo
lizmat that feels wrong
17:38 brrt joined
Kaiepi Int:D(Any)? 17:38
17:39 p6bannerbot sets mode: +v brrt
lizmat yeah, I think it should say that 17:40
m: sub a(Int:D(Any):D $foo) { }
camelia 5===SORRY!5=== Error while compiling <tmp>
Multiple type smileys cannot be used
at <tmp>:1
------> 3sub a(Int:D(Any):D7⏏5 $foo) { }
lizmat otherwise it won't roundtrip 17:41
Geth rakudo: 7dea20aba1 | (Elizabeth Mattijsen)++ | src/core/Parameter.pm6
Parameter.$!nominal_type is always bound

So no need for decont()ing. Also add some comments to make sense of the bitmap values.
17:53
17:57 [TuxCM] left
Geth rakudo: df8c578066 | (Elizabeth Mattijsen)++ | src/core/Parameter.pm6
Use clearer bit shifting instructions

Because they are constant folded anyway.
18:17
timotimo oh, they are? cool! 18:43
oh, it's a "my constant" so it's compile-time evaluated
regardless of any constant folding the optimizer might do 18:44
lizmat if you just use it in "my $a = 1 +< 24", it's *also* constant folded 18:46
timotimo that's good, too
18:52 brrt left 19:20 patrickb left 19:22 patrickb joined, p6bannerbot sets mode: +v patrickb 19:52 dct joined, p6bannerbot sets mode: +v dct 20:01 dct left 20:05 robertle joined 20:06 p6bannerbot sets mode: +v robertle
Geth nqp: 7d9bb54cc2 | usev6++ | src/vm/jvm/QAST/Compiler.nqp
[jvm] Add BINARY_* constants

BINARY_ENDIAN_* is even used for the enum Endian in Rakudo, so the JVM backend should provide them, too.
20:22
20:23 bartolin joined 20:24 p6bannerbot sets mode: +v bartolin 20:31 Ven`` joined 20:32 p6bannerbot sets mode: +v Ven`` 21:00 Ven`` left
AlexDaniel releasable6: status 21:19
releasable6 AlexDaniel, Next release in ≈8 days and ≈21 hours. 4 blockers. 0 out of 189 commits logged
AlexDaniel, Details: gist.github.com/43432c2683d8408b16...d4dbc77fbc
patrickb I got my C replacement for the current shell based runner working. :-D 21:31
21:31 gfldex joined 21:32 p6bannerbot sets mode: +v gfldex
MasterDuke cool 21:36
Geth nqp: c47cd9b1ca | MasterDuke17++ (committed using GitHub Web editor) | docs/ops.markdown
Remove unneeded word in atkey_u description
21:41
patrickb And that runner is relocatable. Some work and more testing still remains though... 21:45
Done for today. Good night everyone! 21:46
21:46 patrickb left
timotimo .tell patrickb that sounds great already! \o/ 21:48
yoleaux timotimo: I'll pass your message to patrickb.
Geth rakudo: 3d3578b605 | (Elizabeth Mattijsen)++ | src/core/Parameter.pm6
First stab at making Parameter a first class citizen

You can now call Parameter.new with the following named parameters:
   name the name of the variable (including any sigil, twigil and
   postfix of optional "?" or mandatory "!" and any ":" prefix
   to indicate a named parameter.
... (16 more lines)
22:20
22:21 noname__ joined 22:22 p6bannerbot sets mode: +v noname__ 22:23 noname left
lizmat and that concludes my hacking fo today 22:28
good night, #perl6-dev
MasterDuke fo sho 22:30