Skip to content

Commit

Permalink
Fix potentially-nullable test case
Browse files Browse the repository at this point in the history
Change-Id: Ieb3d192d273b89666b8d00affe1279ada07dc384
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/104945
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Mike Fairhurst <mfairhurst@google.com>
  • Loading branch information
MichaelRFairhurst authored and commit-bot@chromium.org committed Jun 5, 2019
1 parent a684f20 commit c388c26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void typeParametersNullableBounds<IQ extends int?, BQ extends bool?, LQ extends
list[0]; //# 51: compile-time error
list[0] = 0; //# 52: compile-time error
x += 1; //# 53: compile-time error
x ??= null; //# 54: ok
x ??= x; //# 54: ok
x.round; //# 55: compile-time error
x.toString; //# 56: ok
x.noSuchMethod; //# 57: ok
Expand Down

0 comments on commit c388c26

Please sign in to comment.