Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
turn LTA error for coercive type declarations into NYI.
  • Loading branch information
timo authored and moritz committed Feb 21, 2013
1 parent 5dfb733 commit 9c59a13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Perl6/Grammar.pm
Expand Up @@ -2612,6 +2612,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
]
# parametric type?
<.unsp>? [ <?before '['> '[' ~ ']' <arglist> ]?
<.unsp>? [ <?before '('> '(' ~ ')' <arglist> <.NYI("coercive type declarations")>]?
[<.ws> 'of' <.ws> <typename> ]?
}

Expand Down
2 changes: 1 addition & 1 deletion src/core/Exception.pm
Expand Up @@ -404,7 +404,7 @@ my role X::Pod { }

my class X::NYI is Exception {
has $.feature;
method message() { "$.feature is not yet implemented. Sorry. " }
method message() { "$.feature not yet implemented. Sorry. " }
}
my class X::Comp::NYI is X::NYI does X::Comp { };

Expand Down

0 comments on commit 9c59a13

Please sign in to comment.