mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 08:44:27 +00:00
Fix missing_return warning in expr_builder.dart
Change-Id: Ia1157d668f46114ded9f017dce3b11e202c6a76b Reviewed-on: https://dart-review.googlesource.com/48561 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Paul Berry <paulberry@google.com>
This commit is contained in:
parent
59de9710ea
commit
91e6c8b019
1 changed files with 2 additions and 0 deletions
|
@ -405,6 +405,8 @@ class ExprBuilder {
|
|||
return postfix(TokenType.PLUS_PLUS);
|
||||
case UnlinkedExprAssignOperator.postfixDecrement:
|
||||
return postfix(TokenType.MINUS_MINUS);
|
||||
default:
|
||||
throw new UnimplementedError('Unexpected UnlinkedExprAssignOperator');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue