Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: pkg/analyzer/test/src/task/strong/checker_test.dart

Issue 1956443003: Update mock SDK 'double'. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/test/src/task/strong/checker_test.dart
diff --git a/pkg/analyzer/test/src/task/strong/checker_test.dart b/pkg/analyzer/test/src/task/strong/checker_test.dart
index 28ab23aa81a90a172b1a8dbc7725a5d356d6de3b..5fbc192248eaba9f57ec8806423490dce6dd990b 100644
--- a/pkg/analyzer/test/src/task/strong/checker_test.dart
+++ b/pkg/analyzer/test/src/task/strong/checker_test.dart
@@ -2051,7 +2051,7 @@ void main() {
typedef void ToVoid<T>(T x);
class F {
void set f(ToVoid<dynamic> x) {}
- void set g(ToVoid<int> x) {}
+ void set g(ToVoid<int> x) {}
void set h(dynamic x) {}
void set i(int x) {}
}
@@ -2343,8 +2343,8 @@ void main() {
x = /*info:DOWN_CAST_IMPLICIT*/x + z;
x += /*info:DOWN_CAST_IMPLICIT*/z;
- y = /*info:DOWN_CAST_IMPLICIT*/y + z;
- y += /*info:DOWN_CAST_IMPLICIT*/z;
+ y = y + z;
+ y += z;
dynamic w = 42;
x += /*info:DYNAMIC_CAST*/w;
« no previous file with comments | « pkg/analyzer/test/src/context/mock_sdk.dart ('k') | pkg/analyzer/test/src/task/strong/inferred_type_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698