mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
fix(facades): reduce node count by 1 in assertionsEnabled
This commit is contained in:
parent
a881f09b77
commit
edfa35b11d
1 changed files with 1 additions and 2 deletions
|
|
@ -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 a new issue