Browse files

oo final/closed pragma can also be deduced

  • Loading branch information...
1 parent 30974c6 commit 6d862fde025d0dc39857a04c0d21bfd4874181d0 @TimToady TimToady committed Nov 22, 2012
Showing with 10 additions and 3 deletions.
  1. +10 −3 S12-objects.pod
@@ -13,8 +13,8 @@ Synopsis 12: Objects
Created: 27 Oct 2004
- Last Modified: 22 Jun 2012
- Version: 125
+ Last Modified: 22 Nov 2012
+ Version: 126
=head1 Overview
@@ -2154,7 +2154,14 @@ selecting global semantics of the underlying object-oriented engine:
use oo :closed :final;
-This merely changes the application's default to closed and final,
+This forces the optimizer to consider the current file to represent
+the top-level application; however, the optimizer is also allowed to
+assume these semantics when it can determine that it is linking an
+entire application, such as when the current file is being run from
+the command line or from a mouse click.
+These pragmatics (whether explicit or assumed) merely change the application's
+default to closed and final,
which means that at the end of the main compilation (C<CHECK> time)
the optimizer is allowed to look for candidate classes to close or
finalize. But anyone (including the main application) can request

0 comments on commit 6d862fd

Please sign in to comment.