Raku / old-issue-tracker

Tickets from RT
https://github.com/Raku/old-issue-tracker/issues
2 stars 1 forks source link

Macro argument loses its value in a quasi block #3519

Open p6rt opened 10 years ago

p6rt commented 10 years ago

Migrated from rt.perl.org#122769 (status was 'stalled')

Searchable as RT122769$

p6rt commented 10 years ago

From @hoelzro

When I write a macro that accepts a block, calling $block.Str from within the quasi block in the macro body complains of calling Str on a null object. See attached files.

p6rt commented 10 years ago

From @hoelzro

Marco.pm

p6rt commented 10 years ago

From @hoelzro

test.pl

p6rt commented 10 years ago

From @hoelzro

I should note this only happens when I use an 'is export' macro from another compunit.

p6rt commented 8 years ago

@coke - Status changed from 'new' to 'stalled'