Permalink
Browse files

Make the "undef" message refer to Any, rather than Mu

  • Loading branch information...
1 parent 5642f03 commit 5705c3d86a5e119dd2a7cc23e0f59e71a19cf3cd @lizmat lizmat committed Jun 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Perl6/Grammar.nqp
View
@@ -1405,7 +1405,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
[ <?before [ '(' || \h*<sigil><twigil>**0..1\w ] >
<.obs('undef as a verb', 'undefine function or assignment of Nil')>
]?
- <.obs('undef as a value', "something more specific:\n\tMu (the \"most undefined\" type object),\n\tan undefined type object such as Int,\n\t:!defined as a matcher,\n\tAny:U as a type constraint,\n\tNil as the absense of a value\n\tor fail() as a failure return\n\t ")>
+ <.obs('undef as a value', "something more specific:\n\tAny (the \"whatever\" type object),\n\tan undefined type object such as Int,\n\t:!defined as a matcher,\n\tAny:U as a type constraint,\n\tNil as the absense of a value\n\tor fail() as a failure return\n\t ")>
}
token term:sym<new> {

0 comments on commit 5705c3d

Please sign in to comment.