Skip to content
Browse files

&foo now causes compile time error if undefined.

  • Loading branch information...
1 parent f572ea5 commit 6a4a65177d9d608815ebf37f16613fe6709fbf5d @jnthn jnthn committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 S11-modules/importing.t
View
2 S11-modules/importing.t
@@ -33,7 +33,7 @@ plan 16;
}
#?pugs skip 'Undeclared variable'
-ok( ! &foo, 'Foo::foo is undefined in outer scope' );
+dies_ok( { eval '&foo' }, 'Foo::foo is undefined in outer scope' );
#?pugs todo
{

0 comments on commit 6a4a651

Please sign in to comment.
Something went wrong with that request. Please try again.