commit | 0fde98290e89db20f0421e90965be23edd30bc95 | [log] [tgz] |
---|---|---|
author | Johnni Winther <johnniwinther@google.com> | Fri Jan 15 10:11:43 2021 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Fri Jan 15 10:11:43 2021 +0000 |
tree | 8c0a3a7e9ed3f9bfa46b25f30cfc5fad532ba26e | |
parent | b1b45645d08d0da9575e0fde96677e779db8439a [diff] |
[cfe] Remove misleading comment from test Change-Id: I97392718faf380d1431e76e808bbe775e25e3d4e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/177860 Reviewed-by: Dmitry Stefantsov <dmitryas@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
diff --git a/pkg/front_end/testcases/nnbd/issue44595.dart b/pkg/front_end/testcases/nnbd/issue44595.dart index a5997d4..1fa204e 100644 --- a/pkg/front_end/testcases/nnbd/issue44595.dart +++ b/pkg/front_end/testcases/nnbd/issue44595.dart
@@ -7,9 +7,8 @@ T id<T>(T value) => value; main() async { - FutureOr<int> x = 1 + id(1); // Should work, gives error. + FutureOr<int> x = 1 + id(1); - // Checking it! FutureOr<int> y = 1 + id(1) ..checkStaticType<Exactly<int>>(); FutureOr<int> z = 1 + contextType(1)