fix(facades): reduce node count by 1 in assertionsEnabled

This commit is contained in:
Yegor Jbanov 2015-09-21 13:31:27 -07:00
parent a881f09b77
commit edfa35b11d
1 changed files with 1 additions and 2 deletions

View File

@ -240,8 +240,7 @@ bool isJsObject(o) {
}
bool assertionsEnabled() {
// TODO(yjbanov): verify that this is inlined after https://github.com/dart-lang/sdk/issues/24355
bool k = false;
var k = false;
assert((k = true));
return k;
}