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

Unified Diff: test/codegen/names.dart

Issue 1034273003: fix for static methods and names banned in strict mode (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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 | « test/codegen/expect/server_mode/html_input.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/names.dart
diff --git a/test/codegen/names.dart b/test/codegen/names.dart
index 127655eb24291536a36c4f8b3e1a726aef7a6873..4f4495e4b7e8e11fc532a5c3c732c1f29333a2ed 100644
--- a/test/codegen/names.dart
+++ b/test/codegen/names.dart
@@ -10,8 +10,17 @@ class Foo {
_foo() => 456;
+class Frame {
+ final List arguments;
+ Frame.caller(this.arguments);
+ static callee() => null;
+}
+
main() {
print(exports);
print(new Foo()._foo());
print(_foo());
+ print(new Frame.caller([1,2,3]));
+ var eval = Frame.callee;
+ print(eval);
}
« no previous file with comments | « test/codegen/expect/server_mode/html_input.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698