fix(facades): reduce node count by 1 in assertionsEnabled
This commit is contained in:
parent
a881f09b77
commit
edfa35b11d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue