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:07 vendethiel joined 02:18 vendethiel joined 02:48 ilbot3 joined 02:59 FROGGS_ joined 04:39 vendethiel joined 06:39 vendethiel joined 07:11 FROGGS joined 07:42 vendethiel joined 13:17 Ven joined 13:40 Ven joined 13:52 Ven joined
masak I pushed a failing test to github.com/masak/007/tree/keep-quasis-hygienic 14:26
the gist of that test failing is that quasis are currently not hygienic 14:27
that's because the new StatementListAdapter-based model doesn't introduce a block around the macro-injected code
we want hygiene, so we'll have to do something. question is what. 14:28
hm. 14:29
some probing reveals that it seems the *declaration* part of the `my` indeed doesn't get injected, but the assignment part does. 14:30
if I'm reading this right, both ordinary assignments and those in `my` statements always assign to variables in the "current" frame 14:40
15:15 vendethiel joined 15:23 Ven joined 15:28 Ven joined 15:41 vendethiel joined 17:24 FROGGS joined 18:34 vendethiel joined