dalek | ast: eeda45c | (Zoffix Znet)++ | packages/Test/Util.pm: Add warns-like() testing routine to Test::Util Currently we use is_run() to test warnings, but that shells out to make files and then invokes a Perl 6 compiler. Much faster to just have a routine that catches thrown warnings and uses a smartmatch on them. |
00:18 | |
ast: 7a8f78b | (Zoffix Znet)++ | packages/Test/Util.pm: export warns-like() |
00:23 | ||
ast: e15b1b0 | samcv++ | S15-unicode-information/uniprop.t: uniprop: add test for Simple_Uppercase_Mapping Also correct the plan count |
00:26 | ||
rakudo/nom: c498d5b | (Zoffix Znet)++ | src/core/Stringy.pm: | 00:36 | ||
rakudo/nom: Warn on unitilized values in infix:<x> | |||
rakudo/nom: | |||
rakudo/nom: Originally, the op would warn on uninit. values, but had a bug where passing | |||
rakudo/nom: an Int type object would cause an infiniloop. That was fixed[^1], but | |||
rakudo/nom: introduced another bug that silenced Failures in the given repeat count. THAT | |||
rakudo/nom: bug was fixed[^2], but it now silenced warnings on uninit values. | |||
rakudo/nom: | |||
rakudo/nom: Fix both bugs by having the Any:U candidate first coerce to .Numeric before coercing | |||
rakudo/nom: to an .Int | |||
rakudo/nom: | |||
rakudo/nom: Fixes RT#130281: rt.perl.org/Ticket/Display.html?id=130281 | |||
rakudo/nom: | |||
synopsebot6 | Link: rt.perl.org/rt3//Public/Bug/Displa...?id=130281 | ||
dalek | rakudo/nom: [1] github.com/rakudo/rakudo/commit/ā2...c51bc75a69 | ||
notviki | github.com/rakudo/rakudo/commit/c4...e2b7f5f973 | 00:38 | |
dalek | ast: f35dcd9 | (Zoffix Znet)++ | S03-operators/repeat.t: Test infix:<x> does not silence warnings on undef numeric use RT#130281: rt.perl.org/Ticket/Display.html?id=130281 Rakudo fix: github.com/rakudo/rakudo/commit/c4...bc04b13b6b |
||
synopsebot6 | Link: rt.perl.org/rt3//Public/Bug/Displa...?id=130281 | ||
notviki | samcv, I'm still getting failures in uniprop.t. You can check if the test file passes by running make t/spec/whatever-file.t from Rakudo's repo. | 00:46 | |
# Failed test 'uniprop for Emoji_All returns False for non-Emoji' | |||
# at t/spec/S15-unicode-information/uniprop.rakudo.moar line 275 | |||
# expected: Bool::False | |||
samcv | ok | ||
notviki | # got: 0 | ||
samcv | that's fudged | ||
#?rakudo.moar 10 todo "Emoji properties NYI in MoarVM" | 00:47 | ||
will run it though | |||
ok done | 00:49 | ||
dalek | ast: 8fa2693 | samcv++ | S15-unicode-information/uniprop.t: Fudge failing test for uniprop |
||
notviki | \o/ | ||
samcv | notviki, as far as you know, theres no lowercase/uppercase that does 'simple' mappings right? | 00:52 | |
we have uc and lc and tc and they do the full mappings. but do we have one that only uses the simple mappings? | |||
notviki has no idea what any of that means :} | 00:53 | ||
samcv | would be nice if we had 'string'.uc(:simple) | ||
m: 'Ć'.uc.say | |||
camelia | rakudo-moar c498d5: OUTPUTĀ«SSā¤Ā» | ||
notviki | m: 'Ć'.fc.say | 00:54 | |
camelia | rakudo-moar c498d5: OUTPUTĀ«ssā¤Ā» | ||
samcv | the simple mapping of that is Ć | ||
not SS or ss | |||
and ļ¬ simple does not specify any changed mappings for example | 00:56 | ||
but the full casing rules it changes to Ff or FF for tc and uc respectively | |||
notviki | m: dd [.uc, .fc, .tc, ] with "ļ¬" | 00:57 | |
camelia | rakudo-moar c498d5: OUTPUTĀ«["FF", "ff", "Ff"]ā¤Ā» | ||
notviki | neat | ||
m: dd [.uc, .fc, .tc, .samecase, ] with "ļ¬" | |||
camelia | rakudo-moar c498d5: OUTPUTĀ«Too few positionals passed; expected 2 arguments but got 1ā¤ in block <unit> at <tmp> line 1ā¤ā¤Ā» | ||
samcv | SourceBaby, &samecase | 00:58 | |
SourceBaby, help | |||
SourceBaby | samcv, Use s: trigger with args to give to sourcery sub. e.g. s: Int, 'base'. See modules.perl6.org/dist/CoreHackers::Sourcery | ||
samcv | s: &samecase | ||
SourceBaby | samcv, Sauce is at github.com/rakudo/rakudo/blob/38ec...ol.pm#L329 | ||
notviki | m: "ļ¬".samecase("AAAAA").say | ||
camelia | rakudo-moar c498d5: OUTPUTĀ«FFā¤Ā» | ||
samcv | s: .samecase | 00:59 | |
SourceBaby | samcv, Something's wrong: ā¤ERR: No such method 'samecase' for invocant of type 'Any'ā¤ in block <unit> at -e line 6ā¤ā¤ | ||
notviki | m: "ļ¬".samecase("ĆĆĆĆ").say | ||
camelia | rakudo-moar c498d5: OUTPUTĀ«ļ¬ā¤Ā» | ||
samcv | how do i search for methods | ||
notviki | Object, 'method', \(args) | ||
samcv | s: Cool, 'samecase' | 01:00 | |
SourceBaby | samcv, Sauce is at github.com/rakudo/rakudo/blob/38ec...ol.pm#L218 | ||
notviki | s: "x", 'samecase', \() | ||
SourceBaby | notviki, Something's wrong: ā¤ERR: Could not find candidate that can do \()ā¤ in sub sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 29ā¤ in block <unit> at -e line 6ā¤ā¤ | ||
notviki | s: "x", 'samecase', \(|) | ||
SourceBaby | notviki, Something's wrong: ā¤ERR: ===SORRY!=== Error while compiling -eā¤Prefix | requires an argument, but no valid term foundā¤at -e:6ā¤------> put sourcery( "x", 'samecase', \(|ā) )[1];ā¤ expecting any of:ā¤ prefixā¤ | ||
notviki | bleh :) | ||
samcv | s: Stringy, 'samecase' | ||
SourceBaby | samcv, Something's wrong: ā¤ERR: Too many positionals passed; expected 2 arguments but got 3ā¤ in sub sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 33ā¤ in block <unit> at -e line 6ā¤ā¤ | ||
samcv | s: Stringy 'samecase' | ||
SourceBaby | samcv, Something's wrong: ā¤ERR: ===SORRY!=== Error while compiling -eā¤Unable to parse expression in argument list; couldn't find final ')' ā¤at -e:6ā¤------> put sourcery( Stringyā 'samecase' )[1];ā¤ expecting any of:ā¤ infixā¤ infix stopperā¤ | ||
notviki | that's a role | ||
s: Stringy.^pun, 'samecase' | |||
SourceBaby | notviki, Something's wrong: ā¤ERR: Type check failed in binding to &code; expected Callable but got Nil (Nil)ā¤ in sub do-sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 42ā¤ in sub sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 33ā¤ in block <unit> at -e line 6ā¤ā¤ | ||
notviki | ehehe | ||
s: "x", 'samecase' | |||
SourceBaby | notviki, Sauce is at github.com/rakudo/rakudo/blob/38ec...r.pm#L1805 | ||
dalek | ast: 7b87885 | samcv++ | S15-unicode-information/uniprop.t: uniprop: add tests for Simple_Titlecase_Mapping Simple_Titlecase_Mapping |
01:06 | |
notviki tries a hand at RT#130286 | 01:45 | ||
Still need to unlock the Optimizer achievement. | 01:46 | ||
samcv | notviki, so do we implement Unicode Collation Algorithm or no? | 02:18 | |
or have no clue :P | |||
notviki | no idea what that even is | 02:19 | |
samcv | :D | ||
basically how you sort strings alphabetically. but like. unicode version | |||
notviki | Well, jnthn++ would be best asked about hat. | 02:20 | |
*that | |||
But if he has a hat, ask him about it too.... | |||
samcv | a hat? | 02:21 | |
oh. | |||
what. | 02:22 | ||
notviki | hehe | 02:26 | |
Well, you asked if we should implement something and I know nothing about it, but jnthn does. So I meant that maybe he would have the answers? :) | 02:27 | ||
samcv | oh k | ||
well i could always just slurp the unicode collation order spec and then sort it and see if it's in the same order after :P | 02:28 | ||
if we do implement it, I will add a roast test, but we will see what we do | |||
notviki, what's the s/// thing that's a method call, like match | 02:30 | ||
notviki | .subst | ||
.subst-mutate | 02:31 | ||
samcv | ah k. didn't know they were the same thing | ||
s: &cmp | 03:23 | ||
SourceBaby | samcv, Something's wrong: ā¤ERR: ===SORRY!=== Error while compiling -eā¤Undeclared routine:ā¤ cmp used at line 6ā¤ā¤ | ||
samcv | s: cmp | ||
SourceBaby | samcv, Something's wrong: ā¤ERR: ===SORRY!=== Error while compiling -eā¤Undeclared routine:ā¤ cmp used at line 6ā¤ā¤ | ||
samcv | s: Str, cmp | ||
SourceBaby | samcv, Something's wrong: ā¤ERR: ===SORRY!=== Error while compiling -eā¤Undeclared routine:ā¤ cmp used at line 6ā¤ā¤ | ||
samcv | s: Str, &cmp | 03:24 | |
SourceBaby | samcv, Something's wrong: ā¤ERR: ===SORRY!=== Error while compiling -eā¤Undeclared routine:ā¤ cmp used at line 6ā¤ā¤ | ||
samcv | oh well i found it | 03:25 | |
geekosaur | s: Str, &infix:<cmp> | 03:28 | |
SourceBaby | geekosaur, Something's wrong: ā¤ERR: Cannot resolve caller sourcery(Str, Sub+{<anon|66327344>}+{Precedence}); none of these signatures match:ā¤ ($thing, Str:D $method, Capture $c)ā¤ ($thing, Str:D $method)ā¤ (&code)ā¤ (&code, Capture $c)ā¤ in block <unit> at -e line 6ā¤ā¤ | ||
geekosaur | s: &infix:<cmp> | 03:29 | |
SourceBaby | geekosaur, Sauce is at github.com/rakudo/rakudo/blob/c498...rder.pm#L8 | ||
notviki | s: &infix:<cmp>, \("x", "y") | 03:41 | |
SourceBaby | notviki, Sauce is at github.com/rakudo/rakudo/blob/c498...r.pm#L2696 | ||
samcv | well it seems we don't implement it. or at least it doesn't pass every test | 03:56 | |
at least not with the cmp function | 04:01 | ||
notviki | for some reason my stage parse went into high 90s in the past ~28 hours and has consistently been there... Used to be in low 80s | 04:10 | |
heh, and I have "lib:." directory | 04:12 | ||
samcv | me too | 04:14 | |
notviki | :o | 04:15 | |
oh, I see | 04:18 | ||
$ grep -FR 'lib:.' | |||
t/fudgeandrun:$ENV{PERL6LIB}="$pwd/lib:."; | |||
samcv is reading the collation algorithm file | |||
hmm | |||
MasterDukeLaptop | notviki: did you see my nqp question in #perl6 earlier? know anything about multis in nqp? | 04:20 | |
dalek | kudo/nom: a6c37a7 | (Zoffix Znet)++ | t/fudgeandrun: Fix unwanted creation of "lib:." directory Don't think we need the "." in lib anyway, so fix just by nixing that part. |
04:21 | |
notviki | MasterDukeLaptop: saw. No idea. | ||
samcv | i'm thinking of implementing it in nqp or perl 6 possibly | 04:22 | |
the unicode collation algorithm | |||
notviki | MasterDukeLaptop: Maybe grep nqp's source or nqp files in Rakudo for multies and see how they're implementing protos? | ||
samcv | damn this collation is really complicated | 04:54 | |
it's pretty crazy | 04:58 | ||
there's like 3 levels of weighting and different rules for sequences of codes | |||
and a huge list of preset weights, and then anything not in there you use another method to determine the weighting based on a ton of rules | 04:59 | ||
i'm going to table this. my brain will probably explode otherwise | 05:15 | ||
notviki | wow, it's midnight already :o | 05:17 | |
Merry Newtonmass! | |||
samcv | you too | 05:19 | |
dalek | ast: 357e187 | samcv++ | S15-unicode-information/uniprop.t: uniprop: more Indic_Syllabic_Category and Bidi_Paired_Bracket type tests Make sure we test we receive the correct value for codes *without* this property. |
07:15 | |
samcv | m: 0x30FB.uniprop('Hyphen').say | 07:24 | |
camelia | rakudo-moar a6c37a: OUTPUTĀ«Trueā¤Ā» | ||
samcv | wtf how did this one break | 07:25 | |
i didn't even touch that | |||
i think somehow the file must have gotten changed on disk by accident. re-extracted it and now it's fine | 07:45 | ||
Emoji properties are almost working :) | |||
well. they are working. just need to push the changes to my Moar branch and then set them to Bool properties in Rakudo | 07:46 | ||
dalek | ast: 031e82b | samcv++ | S15-unicode-information/uniprop.t: Fix the Indic_Syllabic_Category test and Emoji_Presentation tests Also add another Emoji_Presentation test for characters that are non-Emoji's. |
07:54 | |
ast: 138a4c4 | samcv++ | S15-unicode-information/uniprop.t: uniprop: some Emoji test tweaks and fix a typo |
08:49 | ||
[Tux] | merry Xmas | 09:31 | |
This is Rakudo version 2016.12-95-ga6c37a7d5 built on MoarVM version 2016.12-19-ge2ffc358 | |||
csv-ip5xs 3.079 | |||
test 13.465 | |||
test-t 5.564 | |||
csv-parser 13.922 | |||
samcv | merry xmas | 10:00 | |
gfldex | m: role R[$p = fail("no argument to $?ROLE")] {}; my $i = 1 does R; | 12:39 | |
camelia | rakudo-moar a6c37a: OUTPUTĀ«===SORRY!=== Error while compiling <tmp>ā¤Variable '$?ROLE' is not declaredā¤at <tmp>:1ā¤------> role R[$p = fail("no argument to ā$?ROLE")] {}; my $i = 1 does R;ā¤Ā» | ||
gfldex | is this a bug? | 12:40 | |
also, why do we got ::?CLASS but not ::?ROLE ? | |||
lizmat | Files=1159, Tests=54970, 190 wallclock secs (10.84 usr 4.43 sys + 1137.48 cusr 125.02 csys = 1277.77 CPU) | 13:00 | |
and merry Xmas! | |||
dalek | kudo/nom: 393afcf | ugexe++ | src/core/Distribution.pm: Fix Distribution::Path bin/resources file format Currently `CURI.install: Distribution::Path.new($path)` fails to install anything in `"{$path}/resources"` and `"{$path}/bin"`. This is because `$meta<files>` expects it's keys to be relative path strings, but was ending up with absolute paths in most circumstances resulting in CURI's install method failing its check of `/^[resources|bin]\//`. This makes sure we're using the relative path string (name-path) where it should be and jus |
13:12 | |
kudo/nom: 8104ff3 | lizmat++ | src/core/Distribution.pm: Merge pull request #973 from ugexe/patch-13 Fix Distribution::Path bin/resources file format |
|||
notviki | In sub f(::T) { say T }; f(10); how come T doesn't have "compile_time_value"? | 13:19 | |
oh ok, never mind, the code I'm looking at looks at an op's compile time value not T's | 13:21 | ||
gfldex | there are still open bugreports for type captures, so I would not bet on any behaviour of type captues just yet. | 13:22 | |
notviki | gfldex: like which? I'm fixing RT#130286 right now | 13:25 | |
synopsebot6 | Link: rt.perl.org/rt3//Public/Bug/Displa...?id=130286 | ||
notviki | maybe the others are related... | 13:26 | |
gfldex | I believe to have on open where type captures cross module boundaries. | 13:27 | |
actually I got 3 open. Will retest them when you are done. | 13:28 | ||
notviki | :o | ||
What are the RT numbers? | |||
gfldex | rt.perl.org/Public/Search/Simple.h...pe+capture | ||
notviki | thanks | 13:29 | |
gfldex | while you are on it :-> | ||
notviki | m: sleep 1 for ^4 .race; say now - INIT now | 13:42 | |
camelia | rakudo-moar 8104ff: OUTPUTĀ«4.0067885ā¤Ā» | ||
notviki | m: sleep 1 for ^4 .hyper; say now - INIT now | ||
camelia | rakudo-moar 8104ff: OUTPUTĀ«4.0063689ā¤Ā» | ||
notviki | my sexy trick no longer works :( | ||
hm, funny, with people always waiting for jnthn++ to fix concurrency stuff, I never even saw the guts of .hyper/.race because I figured it's arcane | 13:51 | ||
s: ^4, 'hyper', \() | 13:52 | ||
SourceBaby | notviki, Sauce is at github.com/rakudo/rakudo/blob/8104...le.pm#L114 | ||
notviki | oh, doh. I forgot to set the batch | 14:05 | |
m: sleep 1 for ^4 .hyper: :batch; say now - INIT now | |||
camelia | rakudo-moar 8104ff: OUTPUTĀ«1.006349ā¤Ā» | 14:06 | |
notviki | m: sleep 1 for ^4 .race: :batch; say now - INIT now | ||
camelia | rakudo-moar 8104ff: OUTPUTĀ«1.0059018ā¤Ā» | ||
notviki | \o/ | ||
Is :statement_id<?> annotation important? | 14:56 | ||
I'm noticing one difference between buggy and non-buggy code is in non-buggy version I have QAST::Var+{QAST::CompileTimeValue}(lexical T) :statement_id<?> T, but in buggy it's missing the statement_id: QAST::Var+{QAST::CompileTimeValue}(lexical T) <wanted> T | 14:57 | ||
lizmat | notviki: no idea | 15:01 | |
notviki | :( | 15:03 | |
lizmat | m: use nqp; say nqp::iseq_i(nqp::cmp_i(0,1),-1) # expected | 15:20 | |
camelia | rakudo-moar 8104ff: OUTPUTĀ«1ā¤Ā» | ||
lizmat | m: use nqp; say nqp::iseq_i(Less,-1) # also expected | ||
camelia | rakudo-moar 8104ff: OUTPUTĀ«1ā¤Ā» | ||
lizmat | m: use nqp; say nqp::iseq_i(Less || nqp::cmp_i(0,1),-1) # not so expected | 15:21 | |
camelia | rakudo-moar 8104ff: OUTPUTĀ«0ā¤Ā» | ||
lizmat | am I making a thinko? notviki ? | ||
moritz | m: say +Less | ||
camelia | rakudo-moar 8104ff: OUTPUTĀ«-1ā¤Ā» | ||
moritz | m: use nqp; say(Less || nqp::cmp_i(0,1)) | 15:22 | |
camelia | rakudo-moar 8104ff: OUTPUTĀ«Lessā¤Ā» | ||
lizmat | m: use nqp; say nqp::iseq_i(Less || (1 && nqp::cmp_i(0,1)),-1) # also works | ||
camelia | rakudo-moar 8104ff: OUTPUTĀ«1ā¤Ā» | ||
moritz | m: use nqp; say nqp::iseq_i(nqp::decont(Less || nqp::cmp_i(0,1)),-1) | ||
camelia | rakudo-moar 8104ff: OUTPUTĀ«1ā¤Ā» | ||
lizmat | ah... the plot thickens | ||
moritz++ | 15:23 | ||
moritz | to plot chickens? :-) | ||
m: use nqp; say nqp::iseq(Less || nqp::cmp_i(0,1),-1) | |||
camelia | rakudo-moar 8104ff: OUTPUTĀ«===SORRY!===ā¤No registered operation handler for 'iseq'ā¤Ā» | ||
notviki | m: use nqp; say nqp::iscont(Less); say nqp::iscont(Less || 1) | 15:25 | |
camelia | rakudo-moar 8104ff: OUTPUTĀ«0ā¤0ā¤Ā» | ||
notviki | moritz: so why does decont make it work? | ||
and + for that matter | 15:26 | ||
m: use nqp; say nqp::iseq_i(+(Less || nqp::cmp_i(0,1)),-1) | |||
camelia | rakudo-moar 8104ff: OUTPUTĀ«1ā¤Ā» | ||
lizmat | afk& | 15:40 | |
moritz | notviki: I dunno | 16:06 | |
notviki: all I know is that the _i variants aren't as magical as those without _i, to enable efficient generated code | 16:07 | ||
notviki | I still don't get why nqp::iseq_i(Less,-1) works, but stops working when you stick a conditional in there | 16:11 | |
Should it return the exact same thing and not need any magicks? | 16:12 | ||
*Shouldn't it | |||
moritz | I have no idea what || code-gens to | 16:13 | |
which you probably have to look into to answer that question | |||
notviki | ah | ||
b2gills | .tell samcv I'm fairly certain that the built-in sorting order for strings is the same or similar to .sort( *.ords ) | 16:25 | |
yoleaux2 | b2gills: I'll pass your message to samcv. | ||
notviki | this optimizer bug is impeding my bugfixing :( | 16:40 | |
Wonder if I should give up.... | 16:41 | ||
...but I'm so sick of giving up because I don't know enough -_- | |||
dalek | kudo/nom: c43f625 | lizmat++ | src/core/Rakudo/Internals.pm: Introducing R:I.MERGESORT-REIFIED-LIST-WITH - re-imagination of nqp::p6sort in perl 6 using nqp::ops - don't use any indirection, directly sorts the given list - so no need to set up lists with indexes and mapping back - needs an nqp::decont in the comparator handling for some unknown reason |
16:46 | |
rakudo/nom: 1374fcf | lizmat++ | src/core/Any-iterable-methods.pm: | |||
rakudo/nom: Make Any.sort(&by) about 40% faster | |||
rakudo/nom: | |||
rakudo/nom: - for the 2-arg case | |||
lizmat | - using the new R:I.MERGESORT-REIFIED-LIST-WITH logic | 16:47 | |
- non-2arg case still handled by old code | |||
review: github.com/rakudo/rakudo/commit/1374fcf | |||
notviki | beat | 16:48 | |
*neat | |||
pmurias | nqp-m: my $bar := 4;my int $foo2 := $bar || 200;say($foo2); | 17:16 | |
camelia | nqp-moarvm: OUTPUTĀ«0ā¤Ā» | ||
pmurias | lizmat: ^^ there is a bug that shows up on the nqp level that could be related to the one you found | 17:17 | |
lizmat | pmurias: could well be :-) | ||
pmurias | m: my int $foo = 4; my int $bar = 200; say(($foo || $bar)); # shouldn't this print out 4? | 17:30 | |
camelia | rakudo-moar 1374fc: OUTPUTĀ«1ā¤Ā» | ||
notviki | m: my int $foo = 4; my int $bar = 200; dd (($foo || $bar)); | 17:39 | |
camelia | rakudo-moar 1374fc: OUTPUTĀ«1ā¤Ā» | ||
notviki | :o | ||
m: my int $foo = 4; my int $bar = 200; dd $foo || $bar; | 17:40 | ||
camelia | rakudo-moar 1374fc: OUTPUTĀ«1ā¤Ā» | ||
notviki | m: my int $foo = 4; my int $bar = 200; dd ($foo or $bar); | ||
camelia | rakudo-moar 1374fc: OUTPUTĀ«1ā¤Ā» | ||
notviki | m: my int $foo = 4; my int $bar = 200; dd ($foo andthen $bar); | ||
camelia | rakudo-moar 1374fc: OUTPUTĀ«200ā¤Ā» | ||
notviki | m: my int $foo = 4; my int $bar = 200; dd ($foo orelse $bar); | ||
camelia | rakudo-moar 1374fc: OUTPUTĀ«4ā¤Ā» | ||
notviki | m: my int $foo = 4; my $bar = 200; dd $foo || $bar; | 17:41 | |
camelia | rakudo-moar 1374fc: OUTPUTĀ«1ā¤Ā» | ||
notviki | m: my $foo = 4; my $bar = 200; dd $foo || $bar; | ||
camelia | rakudo-moar 1374fc: OUTPUTĀ«Int $foo = 4ā¤Ā» | ||
notviki | m: my $foo = 4; my int $bar = 200; dd $foo || $bar; | ||
camelia | rakudo-moar 1374fc: OUTPUTĀ«Int $foo = 4ā¤Ā» | ||
notviki | m: my $foo = 4; my int $bar = 200; dd infix:<||>($foo, $bar); | 17:42 | |
camelia | rakudo-moar 1374fc: OUTPUTĀ«4ā¤Ā» | ||
notviki | m: my int $foo = 4; my int $bar = 200; dd infix:<||>($foo, $bar); | ||
camelia | rakudo-moar 1374fc: OUTPUTĀ«4ā¤Ā» | ||
notviki | It's the optimizer | 17:43 | |
And I'm guessing it's evaluating it and encounters the nqp || bug | 17:47 | ||
samcv | . | 17:53 | |
yoleaux2 | 16:25Z <b2gills> samcv: I'm fairly certain that the built-in sorting order for strings is the same or similar to .sort( *.ords ) | ||
samcv | yeah. it would seem so | 17:54 | |
notviki gives up | 17:59 | ||
.ask jnthn what can I read to understand how to fix Optimizer bugs? Books? Papers? Docs? Anything? | 18:00 | ||
yoleaux2 | notviki: I'll pass your message to jnthn. | ||
japhb | .tell moritz I'm having intermittent troubles loading irc logs; it seems to load slowly or not at all for a while, then suddenly work, then trouble again. Could be just on my end, but other sites seem to be responding quickly. | 18:08 | |
yoleaux2 | japhb: I'll pass your message to moritz. | ||
moritz | japhb: from which public IP? (so that I can look into the logs) | 18:09 | |
yoleaux2 | 18:08Z <japhb> moritz: I'm having intermittent troubles loading irc logs; it seems to load slowly or not at all for a while, then suddenly work, then trouble again. Could be just on my end, but other sites seem to be responding quickly. | ||
mst | moritz: there's an IP in /whois for them | 18:11 | |
which may or may not be the right one, of course | |||
notviki | Gonna take the rest of the day off :/ | 18:32 | |
No good bugs to fix :\ | |||
moritz | mst: which is why I rather ask | 19:21 | |
mst | moritz: well, yes, but that's what I'd grep the logs for in the meantime while waiting for a response | 19:22 | |
mst shrugs | |||
gfldex | do we got a RT for "implement macro"? | 19:58 | |
moritz | we've got a masak for that | 20:00 | |
gfldex | i'm asking because I just added a workaround to a piece of code and I like to write the RT in question into the comment | 20:04 | |
so I can git grep for them | |||
m: Qā1ā; 1 | 20:07 | ||
camelia | rakudo-moar 1374fc: OUTPUTĀ«===SORRY!=== Error while compiling <tmp>ā¤Couldn't find terminator ā (corresponding ā was at line 1)ā¤at <tmp>:1ā¤------> Qā1ā; 1ā<EOL>ā¤ expecting any of:ā¤ āā¤Ā» | ||
gfldex | newbug? | 20:08 | |
moritz | .u āā | ||
yoleaux2 | U+201C LEFT DOUBLE QUOTATION MARK [Pi] (ā) | ||
moritz | bisectable6: Qā1ā; 1 | ||
bisectable6 | moritz, On both starting points (old=2015.12 new=1374fcf) the exit code is 1 and the output is identical as well | ||
moritz, Output on both points: ===SORRY!=== Error while compiling /tmp/AeO0wh4oEOā¤Couldn't find terminator ā (corresponding ā was at line 1)ā¤at /tmp/AeO0wh4oEO:1ā¤------> Qā1ā; 1ā<EOL>ā¤ expecting any of:ā¤ ā | |||
gfldex | m: say ā1ā; 1 | 20:09 | |
camelia | rakudo-moar 1374fc: OUTPUTĀ«WARNINGS for <tmp>:ā¤Useless use of constant integer 1 in sink context (line 1)ā¤1ā¤Ā» | ||
gfldex | m: say ā1ā; | ||
camelia | rakudo-moar 1374fc: OUTPUTĀ«1ā¤Ā» | ||
gfldex | I shall rakudobug | ||
notviki | What's the bug? | 20:12 | |
gfldex | m: Qā1ā; | ||
camelia | rakudo-moar 1374fc: OUTPUTĀ«===SORRY!=== Error while compiling <tmp>ā¤Couldn't find terminator ā (corresponding ā was at line 1)ā¤at <tmp>:1ā¤------> Qā1ā;ā<EOL>ā¤ expecting any of:ā¤ āā¤Ā» | ||
gfldex | notviki: you may want to look into OUTPUTĀ«===SORRY!=== Error while compiling <tmp>ā¤Couldn't find terminator ā (corresponding ā was at line 1)ā¤at <tmp>:1ā¤------> | 20:13 | |
sorry, copypasta-error | |||
#127226 | |||
synopsebot6 | Link: rt.perl.org/rt3//Public/Bug/Displa...?id=127226 | ||
moritz | m: role A { method x() { $?ROLE }}; A.x | 20:15 | |
camelia | ( no output ) | ||
moritz | m: role A { method x() { $?ROLE }}; say A.x | ||
camelia | rakudo-moar 1374fc: OUTPUTĀ«(A)ā¤Ā» | ||
moritz | m: role A { method x() { ::?ROLE }}; say A.x | ||
camelia | rakudo-moar 1374fc: OUTPUTĀ«(A)ā¤Ā» | ||
gfldex | ParametricRoleGroupHOW seams not to have add_method. Any workarounds for that? | 20:24 | |
moritz | structure your application to not need that? | 20:27 | |
have a list of roles that you will mix into the class that you'll work with eventually? | |||
roles are immutable, iirc | |||
notviki | I wouldn't call m: Qā1ā; a bug.... | 20:33 | |
gfldex: why do expect 42 for #127226... I'd expect '$x' | |||
synopsebot6 | Link: rt.perl.org/rt3//Public/Bug/Displa...?id=127226 | ||
gfldex | notviki: agreed | 20:37 | |
dalek | ast: 7d01982 | samcv++ | S15-unicode-information/uniprop.t: Update some of the uniprop tests |
20:48 | |
ast: 7be7035 | samcv++ | S15-nfg/mass-chars.t: mass-chars.t todo the tests don't skip for rakudo.moar |
20:49 | ||
roast: 3baa4db | samcv++ | S15-nfg/mass-chars.t: | 21:55 | ||
roast: Remove mass-chars.t | |||
roast: | |||
roast: The script this test was generated assumed: | |||
roast: The number of chars we expect is: | |||
roast: - Number of codes minus number of non-starters if the test | |||
roast: case begins with a starter | |||
roast: - Number of codes minus number of non-starts plus one | |||
roast: otherwise (to account for isolated non-starters). | |||
roast: | |||
roast: This assumption did not take all the Unicode rules into account and | |||
roast: since more recent Unicode updates, they no longer hold true for the file | |||
roast: it was generated from (NormalizationTest.txt). | |||
roast: | |||
samcv | ugh grammar mistake. oh well | 21:56 | |
guess dalek only prints out lines up to a certain max amount. makes sense | 21:57 | ||
notviki | .tell jnthn can you review github.com/perl6/roast/commit/3baa...d1f30dda15 The test file referenced in the commit message is github.com/perl6/roast/blob/master...reakTest.t | 22:05 | |
yoleaux2 | notviki: I'll pass your message to jnthn. | ||
notviki | Sorry, I don't mean to imply that I think I don't know what you're doing, it's just *I* don't know anything about this and others will likely miss this commit due to holidays :) | 22:12 | |
*you don't know | |||
blah :) | |||
samcv | no problem :) | 23:34 | |
working on updating the script which generates the test i removed plus another 4 for NFK NFC etc junk so it works with current unicode thingy | 23:36 |