Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt committed Oct 25, 2024
1 parent 6d3ddc0 commit 25ebae4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ private static ExpressionSyntax GetExpressionToInline(
if (type.IsVar)
{
typeSymbol = semanticModel.GetTypeSymbol(variableDeclaration.Variables[0].Initializer.Value, cancellationToken)!;
type = typeSymbol.ToTypeSyntax();
type = typeSymbol.ToTypeSyntax().WithSimplifierAnnotation();
}
else
{
Expand Down

0 comments on commit 25ebae4

Please sign in to comment.