1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* <license>
* This file is part of the dis-Emi-A HaXe Library. Copyright © edA-qa mort-ora-y
* For full copyright and license information please refer to doc/license.txt.
* </license>
*/
import flash.display.SpreadMethod;
class StringObjectEnum extends haxe.unit.TestCase
{
public function testBind()
{
tryDefault();
assertTrue( true );
}
//HAXE: defect in compiler causes line below to produce VerifyError: 1068
public function tryDefault( ?spreadMethod : Dynamic )
//public function tryDefault( ?spreadMethod : SpreadMethod )
{
if( spreadMethod == null )
spreadMethod = SpreadMethod.PAD;
}
}
|