Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: a7444d895a3641df8ee44311f3613c1612c4de33
https://github.com/perl6/specs/commit/a7444d895a3641df8ee44311f3613c1612c4de33
Author: Larry Wall <[email protected]>
Date: 2013-05-15 (Wed, 15 May 2013)
Changed paths:
M S02-bits.pod
M S04-control.pod
M S06-routines.pod
M S10-packages.pod
M S12-objects.pod
M S19-commandline.pod
Log Message:
-----------
distinguish FINAL phase from CHECK phase
CHECK phase is always after the parsing of the current compilation
unit. FINAL phase is after the main application's CHECK phase,
when the application as a whole commits to optimization policies.
In other words, a FINAL block defined in a module is not run when the
module is compiled (that would be a CHECK instead), but rather when the
application using the module is completing its compilation and linking.