Skip to content

Conversation

@sebastienros
Copy link
Owner

Fixes #215

/// <summary>
/// Returns a default value if the previous parser failed.
/// </summary>
public sealed class Else<T> : Parser<T>, ICompilable, ISeekable
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change


namespace Parlot.Fluent;

public sealed class ElseError<T> : Parser<T>, ICompilable, ISeekable
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a marker class, doesn't matter.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While it's a public API it's a breaking-change :)

@sebastienros sebastienros merged commit f5d413a into main May 11, 2025
1 check passed
@sebastienros sebastienros deleted the sebros/elseseekable branch May 11, 2025 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Different ZeroOrOne behavior in 1.3.6

3 participants