static plathorm null fix in buddy
This commit is contained in:
@@ -56,7 +56,7 @@ class ExprBindTest extends BuddySuite {
|
|||||||
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:Null<Int>, 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 == from).should.be(true); // f.should.be(from); cast f to Int
|
||||||
from = to;
|
from = to;
|
||||||
to.should.be(val());
|
to.should.be(val());
|
||||||
callNum ++;
|
callNum ++;
|
||||||
|
|||||||
Reference in New Issue
Block a user