Permalink
Browse files

Spelling.

  • Loading branch information...
cfa committed Feb 12, 2019
1 parent 0a1884b commit 4855a730c796dae834407bf520e61b0ed1ef6d84
Showing with 7 additions and 7 deletions.
  1. +3 −3 doc/Language/functions.pod6
  2. +1 −3 doc/Language/traps.pod6
  3. +3 −0 xt/code.pws
  4. +0 −1 xt/words.pws
@@ -419,10 +419,10 @@ same namespace in the future.
=begin code :lang<text>
(exit code 1)
===SORRY!=== Error while compiling /tmp/hDM1N2OAOo
===SORRY!=== Error while compiling /tmp/only-redeclaration.p6
Redeclaration of routine 'you' (did you mean to declare a multi-sub?)
at /tmp/hDM1N2OAOo:1
------> ( $can ) { "Make the darkness bright" }⏏<EOL>
at /tmp/only-redeclaration.p6:3
------> <BOL>⏏<EOL>
=end code
Anonymous sub cannot be declared C<only>. C<only sub {}'> will throw an error of
@@ -1747,9 +1747,7 @@ grammar g {
token item { 'defined' }
};
say g.parse('defined');
# OUTPUT: «(exit code 1) Too many positionals passed; expected 1 argument but #
# got 2␤ in regex item at /tmp/dZ3evir0pb line 1␤ in regex TOP at
# /tmp/dZ3evir0pb line 1␤ in block <unit> at /tmp/dZ3evir0pb line 1␤␤»
# OUTPUT: «Too many positionals passed; expected 1 argument but got 2␤ in regex item at /tmp/grammar-clash.p6 line 3␤ in regex TOP at /tmp/grammar-clash.p6 line 2␤ in block <unit> at /tmp/grammar-clash.p6 line 5»
=end code
C«item» seems innocuous enough, but it is a L<C<sub> defined in class
@@ -5,6 +5,7 @@ ACGT
ACGT
ACGTACGTT
ACGTCG
BOL
BigEndian
Bufs
CADABRA
@@ -18,6 +19,7 @@ FUBAR
FatRatStr
ForeignCode
Freija
FunMath
GCT
GTT
GrammarAdvice
@@ -49,6 +51,7 @@ USERPROFILE
ValueObjAt
Whatevera
Whateverable
WiX
WinCompose
YourClass
aaaa
@@ -398,7 +398,6 @@ evalbot's
evalbytes
evaled
evalfile
evir
exe
executables
exitcode

0 comments on commit 4855a73

Please sign in to comment.