Don't include default case in attribute type serialization

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
This commit is contained in:
Micah 2024-10-07 08:35:07 -07:00 committed by GitHub
parent c305a49d9f
commit f9ebdbf87a
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -1146,8 +1146,6 @@ struct AstJsonEncoder : public AstVisitor
return writeString("checked");
case AstAttr::Type::Native:
return writeString("native");
default:
return writeRaw("null");
}
}