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

Unified Diff: pkg/analyzer/test/generated/non_error_resolver_test.dart

Issue 842503003: Enable async support (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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/analyzer/test/generated/engine_test.dart ('k') | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/non_error_resolver_test.dart
diff --git a/pkg/analyzer/test/generated/non_error_resolver_test.dart b/pkg/analyzer/test/generated/non_error_resolver_test.dart
index 0d8debe1acfe2f9ac3889c723ccb73b0992b0abb..31d055dee127d8d8b0da16118b9c1539793e9eaf 100644
--- a/pkg/analyzer/test/generated/non_error_resolver_test.dart
+++ b/pkg/analyzer/test/generated/non_error_resolver_test.dart
@@ -297,7 +297,6 @@ bool x = false;''');
}
void test_asyncForInWrongContext_async() {
- resetWithAsync();
Source source = addSource(r'''
f(list) async {
await for (var e in list) {
@@ -309,7 +308,6 @@ f(list) async {
}
void test_asyncForInWrongContext_asyncStar() {
- resetWithAsync();
Source source = addSource(r'''
f(list) async* {
await for (var e in list) {
@@ -321,7 +319,6 @@ f(list) async* {
}
void test_awaitInWrongContext_async() {
- resetWithAsync();
Source source = addSource(r'''
f(x, y) async {
return await x + await y;
@@ -332,7 +329,6 @@ f(x, y) async {
}
void test_awaitInWrongContext_asyncStar() {
- resetWithAsync();
Source source = addSource(r'''
f(x, y) async* {
yield await x + await y;
@@ -3831,7 +3827,6 @@ class A {
}
void test_returnInGenerator_async() {
- resetWithAsync();
Source source = addSource(r'''
f() async {
return 0;
@@ -3852,10 +3847,6 @@ f() {
}
void test_returnOfInvalidType_async() {
- AnalysisOptionsImpl options =
- new AnalysisOptionsImpl.con1(analysisContext2.analysisOptions);
- options.enableAsync = true;
- resetWithOptions(options);
Source source = addSource(r'''
import 'dart:async';
class A {
@@ -4765,7 +4756,6 @@ class A {
}
void test_yieldEachInNonGenerator_asyncStar() {
- resetWithAsync();
Source source = addSource(r'''
f() async* {
yield* 0;
@@ -4776,7 +4766,6 @@ f() async* {
}
void test_yieldEachInNonGenerator_syncStar() {
- resetWithAsync();
Source source = addSource(r'''
f() sync* {
yield* 0;
@@ -4787,7 +4776,6 @@ f() sync* {
}
void test_yieldInNonGenerator_asyncStar() {
- resetWithAsync();
Source source = addSource(r'''
f() async* {
yield 0;
@@ -4798,7 +4786,6 @@ f() async* {
}
void test_yieldInNonGenerator_syncStar() {
- resetWithAsync();
Source source = addSource(r'''
f() sync* {
yield 0;
« no previous file with comments | « pkg/analyzer/test/generated/engine_test.dart ('k') | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698