static plathorm null fix in buddy

This commit is contained in:
Dima Granetchi
2014-11-26 14:42:06 +02:00
parent 857b21df98
commit 3a1a4209ce
+1 -1
View File
@@ -56,7 +56,7 @@ class ExprBindTest extends BuddySuite {
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>) {
f.should.be(from);
(f == from).should.be(true); // f.should.be(from); cast f to Int
from = to;
to.should.be(val());
callNum ++;