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

Unified Diff: pkg/dev_compiler/test/codegen/language/variable_named_dart_test.dart

Issue 2435223002: fix #27644, allow "dart" and "dartx" to be renamed if needed (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 | « pkg/dev_compiler/lib/src/compiler/type_utilities.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/test/codegen/language/variable_named_dart_test.dart
diff --git a/tests/standalone/no_lazy_dispatchers_test.dart b/pkg/dev_compiler/test/codegen/language/variable_named_dart_test.dart
similarity index 69%
copy from tests/standalone/no_lazy_dispatchers_test.dart
copy to pkg/dev_compiler/test/codegen/language/variable_named_dart_test.dart
index f45ba1c402db0fd7dac52547208fdbb7c21983da..233b60f899e88253c5ca472b24fd67481e550624 100644
--- a/tests/standalone/no_lazy_dispatchers_test.dart
+++ b/pkg/dev_compiler/test/codegen/language/variable_named_dart_test.dart
@@ -2,8 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// VMOptions=--no_lazy_dispatchers
+import 'package:expect/expect.dart';
main() {
- print("Okay");
+ dynamic dart = 123;
+ Expect.equals(dart.toDouble(), 123.0);
}
« no previous file with comments | « pkg/dev_compiler/lib/src/compiler/type_utilities.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698