Relying on (user settable) SourcePos for deciding which parse is longer (in mergeError) is unreliable.
FWIW megaparsec tracks the count.
The #96 is different, as it adds character count to SourcePos. Yet, both changes are breaking ones, as ErrorPos "constructors" are part of public interface.
Relying on (user settable)
SourcePosfor deciding which parse is longer (inmergeError) is unreliable.FWIW
megaparsectracks the count.The #96 is different, as it adds character count to
SourcePos. Yet, both changes are breaking ones, asErrorPos"constructors" are part of public interface.