# New Ticket Created by # Please include the string: [perl #122896] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=122896 >
Create a module M containing "module M { sub f () is cached is export { } }". When precompiled, the following error occurs when f() is called: Cannot invoke null object in block at src/gen/m-CORE.setting:3604 in any enter at src/gen/m-Metamodel.nqp:3110 in method invoke at src/gen/m-CORE.setting:3548 This is perl6 version 2014.09-81-g89abcf2 built on MoarVM version 2014.09-12-gb9e24ee