schwern/method-signatures — Issue #40: Declaring anon methods in some circumstances results in syntax error
Author: iarna
Created: 2011-10-17 18:29:29+00:00
State: open

This appears to have been caused by 4e03081b981124d9445c4efd951c8149c3388aa0 which moved injected_if_block "from MSM to MS".

This can be reproduced with:

perl -MMethod::Signatures -e '[method () {},1]'

Reverting 4e03081b981124d9445c4efd951c8149c3388aa0 fixes the error.