Fixed typo in RecordPattern.ToString

This commit is contained in:
Brandon Dyck 2023-07-05 10:24:03 -06:00
parent 4f606e0e30
commit 6459e39260

2
AST.cs
View File

@ -74,6 +74,6 @@ public partial record RecordPattern
{
public override string ToString()
{
return $"Let {{ Bindings = {string.Join(", ", (IEnumerable<object?>)(this.Fields))}, Rest = {this.Rest} }}";
return $"RecordPattern {{ Bindings = {string.Join(", ", (IEnumerable<object?>)(this.Fields))}, Rest = {this.Rest} }}";
}
}