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

Unified Diff: pkg/dev_compiler/test/codegen_expected/closure.js

Issue 2954523002: fix #27259, implement covariance checking for strong mode and DDC (Closed)
Patch Set: merged and fix an analysis error Created 3 years, 5 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/dev_compiler/test/codegen_expected/closure.js
diff --git a/pkg/dev_compiler/test/codegen_expected/closure.js b/pkg/dev_compiler/test/codegen_expected/closure.js
index 0a620507d77ace6ca78fa64bc3f2dc72c0ea1801..93535b9ff6a97e97a228e798b6a0cb6a1790dc07 100644
--- a/pkg/dev_compiler/test/codegen_expected/closure.js
+++ b/pkg/dev_compiler/test/codegen_expected/closure.js
@@ -51,7 +51,7 @@ closure.Foo$ = dart.generic(T => {
return this[v$];
}
set v(value) {
- this[v$] = value;
+ this[v$] = T._check(value);
}
static build() {
return new (FooOfT()).new(1, null);
« no previous file with comments | « pkg/dev_compiler/test/browser/language_tests.js ('k') | tests/language_strong/covariant_subtyping_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698