From f9ebdbf87a160e9def1f63b7890cda4b2f83fd36 Mon Sep 17 00:00:00 2001 From: Micah Date: Mon, 7 Oct 2024 08:35:07 -0700 Subject: [PATCH] Don't include default case in attribute type serialization Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com> --- Analysis/src/AstJsonEncoder.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Analysis/src/AstJsonEncoder.cpp b/Analysis/src/AstJsonEncoder.cpp index e7469792..b1fd18ac 100644 --- a/Analysis/src/AstJsonEncoder.cpp +++ b/Analysis/src/AstJsonEncoder.cpp @@ -1146,8 +1146,6 @@ struct AstJsonEncoder : public AstVisitor return writeString("checked"); case AstAttr::Type::Native: return writeString("native"); - default: - return writeRaw("null"); } }