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

Unified Diff: test/codegen/opassign.dart

Issue 1988503002: Move generated files to gen/. (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Revise. Created 4 years, 7 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/notnull.dart ('k') | test/codegen/syncstar_syntax.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/opassign.dart
diff --git a/test/codegen/opassign.dart b/test/codegen/opassign.dart
deleted file mode 100644
index 8cc7da663f7b3347d2558a9520fccd9891a246dc..0000000000000000000000000000000000000000
--- a/test/codegen/opassign.dart
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
-// 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.
-
-get index {
- print('called "index" getter');
- return 0;
-}
-
-final _foo = new Foo();
-get foo {
- print('called "foo" getter');
- return _foo;
-}
-
-class Foo { int x = 100; }
-
-main() {
- var f = { 0: 40 };
- print('should only call "index" 2 times:');
- ++f[index];
- forcePostfix(f[index]++);
-
- print('should only call "foo" 2 times:');
- ++foo.x;
- forcePostfix(foo.x++);
-
- print('op assign test, should only call "index" twice:');
- f[index] += f[index];
-}
-
-// Postfix generates as prefix if the value isn't used. This method prevents it.
-forcePostfix(x) {}
« no previous file with comments | « test/codegen/notnull.dart ('k') | test/codegen/syncstar_syntax.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698