Another note about how as3 can #$^ @# @#$ ^@#$@ @#%&*.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3949 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -279,3 +279,11 @@ ActionScript
|
||||
|
||||
This just might save our butts from insane class proliferation with service
|
||||
listeners.
|
||||
|
||||
- You can't use runtime constants as parameter initializers:
|
||||
|
||||
public const MAX_VALUE :int = 99;
|
||||
|
||||
// this is illegal because MAX_VALUE is not defined until the
|
||||
// static initializer is run for this class. It's not around at compile time.
|
||||
public function getCrap (minValue :int, maxValue :int = MAX_VALUE) :Crap
|
||||
|
||||
Reference in New Issue
Block a user