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

Unified Diff: runtime/vm/dart_api_impl_test.cc

Issue 2405193004: Extend ignore_patch_signature_mismatch used by dartium to ignore type parameters with different bou… (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_api_impl_test.cc
diff --git a/runtime/vm/dart_api_impl_test.cc b/runtime/vm/dart_api_impl_test.cc
index d2016a43da886b9ff11d318c6d86c0e25abccf17..d3245c9482afe7b9aa7e6f1d95c7b706fee85d3d 100644
--- a/runtime/vm/dart_api_impl_test.cc
+++ b/runtime/vm/dart_api_impl_test.cc
@@ -6709,13 +6709,13 @@ TEST_CASE(LoadPatchSignatureMismatch) {
const char* kSourceChars =
"part of library1_name;\n"
"external int foo([int x]);\n"
- "class Foo {\n"
+ "class Foo<T extends Foo> {\n"
" external static int addDefault10([int x, int y]);\n"
"}";
const char* kPatchChars =
"const _UNDEFINED = const Object();\n"
"@patch foo([x=_UNDEFINED]) => identical(x, _UNDEFINED) ? 42 : x;\n"
- "@patch class Foo {\n"
+ "@patch class Foo<T> {\n"
" static addDefault10([x=_UNDEFINED, y=_UNDEFINED]) {\n"
" if (identical(x, _UNDEFINED)) x = 10;\n"
" if (identical(y, _UNDEFINED)) y = 10;\n"
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698