Skip to content

Commit

Permalink
Make the "undef" message refer to Any, rather than Mu
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Jun 14, 2013
1 parent 5642f03 commit 5705c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.nqp
Expand Up @@ -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> {
Expand Down

0 comments on commit 5705c3d

Please sign in to comment.