[perl #131511] [Feature Request] Take a step closer to Signatures as constraints on variables.

2017-06-04 Thread via RT
# New Ticket Created by Benjamin Goldberg # Please include the string: [perl #131511] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131511 > With the current version of rakudo, if I were to run the code “my &foo ();”, I woul

[perl #126855] [BUG] .WHAT does not allow spaces around the dot (42 . WHAT)

2017-06-04 Thread Zoffix Znet via RT
On Wed, 09 Dec 2015 08:12:00 -0800, alex.jakime...@gmail.com wrote: > Code: > say 42 .WHAT > > Result: > ===SORRY!=== > Method call must either supply a name or have a child node that evaluates > to the name > > > Well, I think that it should work. One practical use is 「^42 .WHAT」. > > Some exp

[perl #126855] [BUG] .WHAT does not allow spaces around the dot (42 . WHAT)

2017-06-04 Thread Zoffix Znet via RT
On Wed, 09 Dec 2015 08:12:00 -0800, alex.jakime...@gmail.com wrote: > Code: > say 42 .WHAT > > Result: > ===SORRY!=== > Method call must either supply a name or have a child node that evaluates > to the name > > > Well, I think that it should work. One practical use is 「^42 .WHAT」. > > Some exp

[perl #131510] [SEGV] Segfault when `-Ilib` while running a file that does `use lib ` and loads some modules

2017-06-04 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #131510] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131510 > To get code that segfaults: cd $(mktemp -d); git clone https://github.com/zoffixznet/

[perl #131509] Dynamic vars aren't visible inside Promise.then

2017-06-04 Thread Zoffix Znet via RT
On Sun, 04 Jun 2017 09:00:46 -0700, c...@zoffix.com wrote: > I expected the .then'ed code to be in my dynamic scope so it'd see the > variable I'm using, same as it's seen in a start block: > > m: my $*FOO = 42; sub bar (&code) { code }; bar { say > $*FOO; await start { say $*FOO }.then: { say $*

[perl #131509] Dynamic vars aren't visible inside Promise.then

2017-06-04 Thread Zoffix Znet via RT
On Sun, 04 Jun 2017 09:00:46 -0700, c...@zoffix.com wrote: > I expected the .then'ed code to be in my dynamic scope so it'd see the > variable I'm using, same as it's seen in a start block: > > m: my $*FOO = 42; sub bar (&code) { code }; bar { say > $*FOO; await start { say $*FOO }.then: { say $*

[perl #131509] Dynamic vars aren't visible inside Promise.then

2017-06-04 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #131509] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131509 > I expected the .then'ed code to be in my dynamic scope so it'd see the variable I'm using

[perl #131508] [BUG] `state` with % is Sethash in whenever block ends up with a type object on second iteration

2017-06-04 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #131508] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131508 > %goods here works as expected: m: my %goods is SetHash; react whenever Supply.interval(.

[perl #122346] [@LARRY] "nom regression" behavior of lexicals/invoking sub before they are defined changed

2017-06-04 Thread Zoffix Znet via RT
On Sun, 20 Jul 2014 10:33:13 -0700, coke wrote: > S02-names-vars/variables-and-packages.t has several TODO'd tests of > this sort: > > { > nok foo().defined, "get variable not yet declared using a sub (1)"; > is foo(), 1, "get variable not yet declared using a sub (2)"; > is foo(), 2, "get v

[perl #122346] [@LARRY] "nom regression" behavior of lexicals/invoking sub before they are defined changed

2017-06-04 Thread Zoffix Znet via RT
On Sun, 20 Jul 2014 10:33:13 -0700, coke wrote: > S02-names-vars/variables-and-packages.t has several TODO'd tests of > this sort: > > { > nok foo().defined, "get variable not yet declared using a sub (1)"; > is foo(), 1, "get variable not yet declared using a sub (2)"; > is foo(), 2, "get v

[perl #131507] [LTA] “Weird node in analyze” when hyper calling an array of blocks ( @foo»() )

2017-06-04 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #131507] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131507 > Code: my @foo = { say ‘hello’ }; @foo»() Result: Weird node in anal