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:
Ray Greenwell
2006-03-15 03:24:46 +00:00
parent a933c1e4ab
commit 4fe0d6e484
+8
View File
@@ -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