| Index: sdk/lib/_internal/compiler/implementation/use_unused_api.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/use_unused_api.dart b/sdk/lib/_internal/compiler/implementation/use_unused_api.dart
|
| index bdd26d19b047d47df4b34be46fea21373b4cae97..a381aaa009a4d955d412e48f2fa24bc67f2ffa06 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/use_unused_api.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/use_unused_api.dart
|
| @@ -72,6 +72,8 @@ void useConstant(constants.ConstantValue constant,
|
|
|
| void useNode(tree.Node node) {
|
| node
|
| + ..asAsyncModifier()
|
| + ..asAwait()
|
| ..asBreakStatement()
|
| ..asCascade()
|
| ..asCatchBlock()
|
| @@ -110,7 +112,8 @@ void useNode(tree.Node node) {
|
| ..asTypeAnnotation()
|
| ..asTypeVariable()
|
| ..asTypedef()
|
| - ..asWhile();
|
| + ..asWhile()
|
| + ..asYield();
|
| }
|
|
|
| void useUtil(util.Link link) {
|
|
|