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

Unified Diff: test/codegen/syncstar_syntax.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/opassign.dart ('k') | test/codegen/temps.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/syncstar_syntax.dart
diff --git a/test/codegen/syncstar_syntax.dart b/test/codegen/syncstar_syntax.dart
deleted file mode 100644
index 0c7efc9c40d7627c2d5e04a8f2e10fcc5f335f81..0000000000000000000000000000000000000000
--- a/test/codegen/syncstar_syntax.dart
+++ /dev/null
@@ -1,34 +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.
-
-import 'package:expect/expect.dart';
-
-Iterable<int> foo() sync* {
- yield 1;
- yield* [2, 3];
-}
-
-class Class {
- Iterable<int> bar() sync* {
- yield 1;
- yield* [2, 3];
- }
-
- static Iterable<int> baz() sync* {
- yield 1;
- yield* [2, 3];
- }
-}
-
-main() {
- Iterable<int> qux() sync* {
- yield 1;
- yield* [2, 3];
- }
-
- Expect.listEquals([1, 2, 3], foo().toList());
- Expect.listEquals([1, 2, 3], new Class().bar().toList());
- Expect.listEquals([1, 2, 3], Class.baz().toList());
- Expect.listEquals([1, 2, 3], qux().toList());
-}
« no previous file with comments | « test/codegen/opassign.dart ('k') | test/codegen/temps.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698