@@ -4,8 +4,12 @@ class Issue2607 extends unit.Test {
inline static var CONST:Float = -1;
- function test(v = CONST) {
+ function fun(v = CONST) {
eq(v, -1);
t((v is Float));
}
+
+ function test() {
+ fun();
+ }
@@ -2,10 +2,10 @@ package unit.issues;
class Issue3577 extends Test {
function test() {
- eq(testNull(2), 4);
+ eq(tNull(2), 4);
- function testNull(?x:Int=0) : Int {
+ function tNull(?x:Int=0) : Int {
var y:Int = x;
function anon() {
y *= 2;