diff --git a/AST.cs b/AST.cs index 41bd7fe..c41960f 100644 --- a/AST.cs +++ b/AST.cs @@ -74,6 +74,6 @@ public partial record RecordPattern { public override string ToString() { - return $"Let {{ Bindings = {string.Join(", ", (IEnumerable)(this.Fields))}, Rest = {this.Rest} }}"; + return $"RecordPattern {{ Bindings = {string.Join(", ", (IEnumerable)(this.Fields))}, Rest = {this.Rest} }}"; } }