Skip to content

Commit

Permalink
ignore unreachable_switch_default in weird switch case (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Sep 24, 2024
1 parent 071ebc5 commit f8bbdce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/client/transport/web_streams.dart
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ class _GrpcWebConversionSink implements ChunkedConversionSink<ByteBuffer> {
case _GrpcWebParseState.message:
_parseMessage(chunkData);
break;
// ignore: unreachable_switch_default
default:
// only expected to be hit when hot-restarting, see above
break processingLoop;
Expand Down

0 comments on commit f8bbdce

Please sign in to comment.