6macros: discussing the finer points of Perl 6 macros, Qtrees, and how to stay sane | irclog: irclog.perlgeek.de/6macros/today
Set by moderator on 28 July 2015.
00:46 Ven_ joined 01:50 Ven_ joined 02:55 Ven_ joined 03:59 Ven_ joined 04:51 vendethiel joined 05:02 Ven_ joined 07:09 Ven_ joined
masak goodie. will review later. 07:16
FYI about hygiene and invisible blocks: irclog.perlgeek.de/perl6/2015-11-12#i_11523809 07:45
17:56 FROGGS joined 18:46 Ven joined 18:54 ilbot3 joined
masak ok, reviewing a bit: 18:56
$ perl6 bin/007 -e='say({ foo: 42 })'
Could not parse program
it works if I remove the space before `foo`
(we had the same issue with arrays a few commits back) 18:57
in fact, let me try and fix that myself (since it's a new thing that I just discovered by fooling around with the command line) 18:58
the patch itself (squashed) looks very nice at this point -- I don't see anything that sticks out and needs further comment 18:59
yeah; fixed. 19:02
Ven amazing :) 19:04
masak :D
Ven I spent far too long on this PR, ugh. 19:05
masak gonna put together a commit message, then push to a branch so you can inspect it, then merge to master
Ven ok! 19:09
masak huh. 19:10
my small whitespace change makes the added failing test pass, but...
...it also causes unrelated breakage in the *linter* tests.
investigating. 19:13
no clear reason. the failures are very reproducible, but I can't see a sensible cause just by looking at them or the code. 19:29
commenting them out for now. if the failures persist, we might move them to quarantine.
$ perl6 bin/007 -e='say({ james: "bond" })' 19:32
{james: bond}
hm...
compare 19:33
$ perl6 bin/007 -e='say(["bond"])'
["bond"]
ah, that was a simple fix, too 19:34
- "{$key}: {.value}"
+ "{$key}: {.value.quoted-Str}"
$ perl6 bin/007 -e='my bond = "007"; say({ bond })' 19:35
Could not parse program
hmmmm
this time it's the space at the end that screws it up :P 19:37
looking for an easy fix
...yep. 19:39
masak re-runs prove and hopes more linter tests will not break :)
20:05 vendethiel joined
vendethiel is it good? :) 20:06
masak it is :) 20:12
sorry, I got pulled off into @family stuff, and now too tired to continue... :/
will do the last bit tomorrow morning. 20:13
vendethiel no, no, I totally agree 20:14
same thing here
20:35 ilbot3 joined 21:35 sergot joined
sergot hi \\o 21:35
vendethiel hey sergot :) 21:49
22:12 FROGGS joined 22:30 Ven joined 22:46 Ven joined 22:49 Ven joined 22:53 FROGGS joined 23:34 Ven joined 23:46 Ven joined