From a87bae65a03ade0cd0eda64928abd052aded0929 Mon Sep 17 00:00:00 2001 From: LPeter1997 Date: Sun, 15 Oct 2023 16:19:42 +0200 Subject: [PATCH] Update BoundTree.sbncs --- src/Draco.SourceGeneration/Templates/BoundTree.sbncs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Draco.SourceGeneration/Templates/BoundTree.sbncs b/src/Draco.SourceGeneration/Templates/BoundTree.sbncs index e80abe531..1fb6b3edb 100644 --- a/src/Draco.SourceGeneration/Templates/BoundTree.sbncs +++ b/src/Draco.SourceGeneration/Templates/BoundTree.sbncs @@ -83,7 +83,7 @@ namespace Draco.Compiler.Internal.BoundTree; public override string ToString() { var result = new StringBuilder(); - result.Append("{{string.remove_first($node.Name, 'Bound')}}"); + result.Append("{{remove_prefix($node.Name, 'Bound')}}"); result.Append('('); {{has_more_fields = array.size($node.Fields) > 1}}