Files
sdk/pkg/compiler/lib
Stephen Adams bdf8b0bc79 [dart2js] Remove some clumbsy negations in generated JavaScript
This mostly fires on the expansions of

  a?.b = x;
  a?.f();

since these expansions to conditional, e.g.

  a==null ? null : (a.b = x)

have null in the then-branch which is unused in the statement context.

Change-Id: I2a9ab6e3c46e025eedb2040e0a083c29ff7c058e
Reviewed-on: https://dart-review.googlesource.com/c/84436
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2018-11-16 17:39:54 +00:00
..