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

Unified Diff: pkg/compiler/lib/src/resolution/members.dart

Issue 1927963002: Support compilation of Hello World (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fixes Created 4 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 | « pkg/compiler/lib/src/js_backend/js_backend.dart ('k') | pkg/compiler/lib/src/serialization/modelz.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/resolution/members.dart
diff --git a/pkg/compiler/lib/src/resolution/members.dart b/pkg/compiler/lib/src/resolution/members.dart
index c8d92934b75dde2fcaa67641173300f0e31447d4..3d0b619cc29e3202a49b5bfed2426c2d66b7f037 100644
--- a/pkg/compiler/lib/src/resolution/members.dart
+++ b/pkg/compiler/lib/src/resolution/members.dart
@@ -3537,8 +3537,8 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> {
ResolutionResult visitYield(Yield node) {
if (!compiler.backend.supportsAsyncAwait) {
- reporter.reportErrorMessage(node.yieldToken,
- MessageKind.ASYNC_AWAIT_NOT_SUPPORTED);
+ reporter.reportErrorMessage(
+ node.yieldToken, MessageKind.ASYNC_AWAIT_NOT_SUPPORTED);
} else {
if (!currentAsyncMarker.isYielding) {
reporter.reportErrorMessage(node, MessageKind.INVALID_YIELD);
@@ -3678,8 +3678,8 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> {
ResolutionResult visitAwait(Await node) {
if (!compiler.backend.supportsAsyncAwait) {
- reporter.reportErrorMessage(node.awaitToken,
- MessageKind.ASYNC_AWAIT_NOT_SUPPORTED);
+ reporter.reportErrorMessage(
+ node.awaitToken, MessageKind.ASYNC_AWAIT_NOT_SUPPORTED);
} else {
if (!currentAsyncMarker.isAsync) {
reporter.reportErrorMessage(node, MessageKind.INVALID_AWAIT);
@@ -4205,18 +4205,16 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> {
ResolutionResult visitAsyncForIn(AsyncForIn node) {
if (!compiler.backend.supportsAsyncAwait) {
- reporter.reportErrorMessage(node.awaitToken,
- MessageKind.ASYNC_AWAIT_NOT_SUPPORTED);
+ reporter.reportErrorMessage(
+ node.awaitToken, MessageKind.ASYNC_AWAIT_NOT_SUPPORTED);
} else {
if (!currentAsyncMarker.isAsync) {
reporter.reportErrorMessage(
node.awaitToken, MessageKind.INVALID_AWAIT_FOR_IN);
}
registry.registerFeature(Feature.ASYNC_FOR_IN);
- registry.registerDynamicUse(
- new DynamicUse(Selectors.current, null));
- registry.registerDynamicUse(
- new DynamicUse(Selectors.moveNext, null));
+ registry.registerDynamicUse(new DynamicUse(Selectors.current, null));
+ registry.registerDynamicUse(new DynamicUse(Selectors.moveNext, null));
}
visit(node.expression);
« no previous file with comments | « pkg/compiler/lib/src/js_backend/js_backend.dart ('k') | pkg/compiler/lib/src/serialization/modelz.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698