From 91e6c8b01924b4ef3bf9fdd336f3d3c381011653 Mon Sep 17 00:00:00 2001 From: Paul Berry Date: Wed, 28 Mar 2018 07:53:04 +0000 Subject: [PATCH] Fix missing_return warning in expr_builder.dart Change-Id: Ia1157d668f46114ded9f017dce3b11e202c6a76b Reviewed-on: https://dart-review.googlesource.com/48561 Reviewed-by: Konstantin Shcheglov Commit-Queue: Paul Berry --- pkg/analyzer/lib/src/summary/expr_builder.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/analyzer/lib/src/summary/expr_builder.dart b/pkg/analyzer/lib/src/summary/expr_builder.dart index bbec013e03a5d..df4be6e1806c6 100644 --- a/pkg/analyzer/lib/src/summary/expr_builder.dart +++ b/pkg/analyzer/lib/src/summary/expr_builder.dart @@ -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'); } }