Skip to content

Commit

Permalink
compile time errors are SORRY
Browse files Browse the repository at this point in the history
  • Loading branch information
stmuk committed Oct 21, 2015
1 parent 24ce248 commit 103019d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/Language/faq.pod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@
=head1 Language Features
=head2 Why is the Rakudo compiler sometimes more apologetic?
If SORRY! is present in the output the error is a compile time error
otherwise it's runtime.
Example:
say 1/0 # Attempt to divide 1 by zero using div
sub foo ( Int $a, Int $b ) {...}
foo(1) # ===SORRY!=== Error while compiling ...
=head2 What is C<(Any)>?
L<Any|type/Any> is a top level class used as a default superclass for new
Expand Down

0 comments on commit 103019d

Please sign in to comment.