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

Unified Diff: runtime/vm/dart_api_impl_test.cc

Issue 2354603003: Fix crashes due to attempts to create an identifier name containing the word <bottom>. Likely there… (Closed)
Patch Set: This flag is needed by Dartium for JS interop. 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