static plathorm null fixes
This commit is contained in:
@@ -55,7 +55,7 @@ class ExprBindTest extends BuddySuite {
|
|||||||
inline function val() return if (a.str.charAt(b.str.length) == Std.string(c.str)) 1 else 0;
|
inline function val() return if (a.str.charAt(b.str.length) == Std.string(c.str)) 1 else 0;
|
||||||
var from:Null<Int> = null;
|
var from:Null<Int> = null;
|
||||||
|
|
||||||
BindExt.expr(if (a.str.charAt(b.str.length) == Std.string(c.str)) 1 else 0, function (f, to:Null<Int>) {
|
BindExt.expr(if (a.str.charAt(b.str.length) == Std.string(c.str)) 1 else 0, function (f:Null<Int>, to:Null<Int>) {
|
||||||
f.should.be(from);
|
f.should.be(from);
|
||||||
from = to;
|
from = to;
|
||||||
to.should.be(val());
|
to.should.be(val());
|
||||||
|
|||||||
Reference in New Issue
Block a user