From c7a37ee87c50832d7180d48deee08ccfe64c1eb2 Mon Sep 17 00:00:00 2001 From: Dustin Noyes Date: Wed, 18 Oct 2023 09:30:31 -0700 Subject: [PATCH] fix(smithy): defines Output type to fix beta tests (#3963) --- packages/smithy/smithy/lib/src/http/http_operation.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/smithy/smithy/lib/src/http/http_operation.dart b/packages/smithy/smithy/lib/src/http/http_operation.dart index 3df79aed12..2426f4635b 100644 --- a/packages/smithy/smithy/lib/src/http/http_operation.dart +++ b/packages/smithy/smithy/lib/src/http/http_operation.dart @@ -269,7 +269,7 @@ abstract class HttpOperation try { final payload = await protocol.deserialize(response.split()); output = switch (payload) { - Output _ => payload, + final Output p => p, _ => buildOutput(payload, response), }; successCode = this.successCode(output);