| Index: frog/gen.dart
|
| diff --git a/frog/gen.dart b/frog/gen.dart
|
| index eb0e8f582887b493ea9baf6a59cb4567ba8ca694..b0d59ba828d9838dc73126fc225cffe76fcb0703 100644
|
| --- a/frog/gen.dart
|
| +++ b/frog/gen.dart
|
| @@ -557,7 +557,7 @@ function $inheritsMembers(child, parent) {
|
| writer.comment('// ${typesWithDynamicDispatch.length} dynamic types.');
|
|
|
| typeTag(type) => type.definition.nativeType.name;
|
| -
|
| +
|
| // Build a pre-order traversal over all the types and their subtypes.
|
| var seen = new Set();
|
| var types = [];
|
| @@ -2260,6 +2260,10 @@ class MethodGenerator implements TreeVisitor {
|
| }
|
| }
|
|
|
| + visitDeclaredIdentifier(DeclaredIdentifier node) {
|
| + world.error('Expected expression', node.span);
|
| + }
|
| +
|
| visitAwaitExpression(AwaitExpression node) {
|
| world.internalError(
|
| 'Await expressions should have been eliminated before code generation',
|
|
|