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

Unified Diff: test/codegen/names.dart

Issue 1111803005: fix #159, static renames for caller/arguments (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 8 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/names.js ('k') | test/codegen/names.html » ('j') | 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 4f4495e4b7e8e11fc532a5c3c732c1f29333a2ed..d2086ab031739b9f16305e653ede4fddbb51c489 100644
--- a/test/codegen/names.dart
+++ b/test/codegen/names.dart
@@ -16,6 +16,12 @@ class Frame {
static callee() => null;
}
+
+class Frame2 {
+ static int caller = 100;
+ static int arguments = 200;
+}
+
main() {
print(exports);
print(new Foo()._foo());
@@ -23,4 +29,5 @@ main() {
print(new Frame.caller([1,2,3]));
var eval = Frame.callee;
print(eval);
+ print(Frame2.caller + Frame2.arguments);
}
« no previous file with comments | « test/codegen/expect/names.js ('k') | test/codegen/names.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698