Skip to content

Commit a85e94a

Browse files
committed
Implement Method.ToString() to help with debugging.
1 parent a8595fc commit a85e94a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/AST/Method.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,5 +188,10 @@ public override T Visit<T>(IDeclVisitor<T> visitor)
188188
}
189189

190190
private bool? isOverride;
191+
192+
public override string ToString()
193+
{
194+
return DebugText;
195+
}
191196
}
192197
}

0 commit comments

Comments
 (0)