Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[t/spec] Fudge for ng1.

git-svn-id: http://svn.pugscode.org/pugs@29616 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
commit 3d8ce316f2849b26d46d63c3c0f78178e648509b 1 parent 547e344
colomon authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  S06-routine-modifiers/scoped-named-subs.t
View
2  S06-routine-modifiers/scoped-named-subs.t
@@ -9,6 +9,8 @@ plan 12;
my Str sub myNamedStr() { return 'string' };
is myNamedStr(), 'string', 'lexical named sub() return Str';
}
+
+#?rakudo todo 'Broken in ng1'
is eval('myNamedStr()'), '', 'Correct : lexical named sub myNamedStr() should NOT BE available outside its scope';
{
Please sign in to comment.
Something went wrong with that request. Please try again.