|
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. |
|||
|
02:24
FROGGS_ joined
04:19
vendethiel joined
11:07
vendethiel joined
11:08
Ven joined
|
|||
| masak works a bit more on 007 | 15:05 | ||
| hehe -- this "can't assign to a constant" commit I'm crafting, it's a gift that keeps on giving | 21:24 | ||
| case in point. I started out by making constants non-assignable. currently I'm introducing a new type Q::Parameter :P | 22:19 | ||
| (yes, those two are related, through a perfectly reasonable domino-like chain of events) | 22:20 | ||
| oh, lovely. Travis CI flags up yet another build error that I can't reproduce locally. | 23:26 | ||
| masak updates his Rakudo | |||
| I think last time I upgraded Rakudo was... last Travis CI build failure :) | 23:29 | ||
| vendethiel | *g* | 23:31 | |
| thanks travis :P | |||
| masak | ...reproducible. :/ | 23:32 | |
| but it still looks bogus to me. | |||
| given that my out-of-date Rakudo could pass that test. | |||
| ok, so. a modern Rakudo fails `perl6 t/features/objects.t` | 23:33 | ||
| minimizing. | |||
| I've had a productive night so far, though. | |||
| I've mainly done this: | 23:34 | ||
| $ perl6 bin/007 -e='constant foo = 1; foo = 2' | |||
| Cannot modify an immutable constant 'foo' | |||
| vendethiel | masak: I'd admit, for the duplicate properties, that I'd probably have used something like | 23:43 | |
| say "Duplicate properties: $_" if $_ given @properties.uniq (-) @properties | |||
| or, er, something along those lines :) | |||
| masak | yeah :) | 23:49 | |
| 007 code is fairly modest in using sets and stuff | 23:50 | ||
| partly becase I know I'll be porting that Perl 6 implementation to 007 one day :) | 23:51 | ||
| I've minimized the problem now. definitely Rakudo's fault. | 23:57 | ||
| doing a quick bisect to see if I can find what introduced it. | 23:58 | ||