Skip to content

Commit

Permalink
Add implementation of BasicBlock.ToString
Browse files Browse the repository at this point in the history
  • Loading branch information
desplesda committed Mar 16, 2024
1 parent 8f1cf80 commit 337ca2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions YarnSpinner.Compiler/Utility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,9 @@ public string Name
}
}

/// <inheritdoc/>
public override string ToString() => this.Name;

/// <summary>
/// Get the ancestors of this block - that is, blocks that may run immediately before this block.
/// </summary>
Expand Down

0 comments on commit 337ca2d

Please sign in to comment.