Skip to content

Commit

Permalink
Fix missing_return warning in expr_builder.dart
Browse files Browse the repository at this point in the history
Change-Id: Ia1157d668f46114ded9f017dce3b11e202c6a76b
Reviewed-on: https://dart-review.googlesource.com/48561
Reviewed-by: Konstantin Shcheglov <[email protected]>
Commit-Queue: Paul Berry <[email protected]>
  • Loading branch information
stereotype441 authored and [email protected] committed Mar 28, 2018
1 parent 59de971 commit 91e6c8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/analyzer/lib/src/summary/expr_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}

Expand Down

0 comments on commit 91e6c8b

Please sign in to comment.