Skip to content

Commit edfa35b

Browse files
committed
fix(facades): reduce node count by 1 in assertionsEnabled
1 parent a881f09 commit edfa35b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/angular2/src/core/facade/lang.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,7 @@ bool isJsObject(o) {
240240
}
241241

242242
bool assertionsEnabled() {
243-
// TODO(yjbanov): verify that this is inlined after https://github.com/dart-lang/sdk/issues/24355
244-
bool k = false;
243+
var k = false;
245244
assert((k = true));
246245
return k;
247246
}

0 commit comments

Comments
 (0)