Skip to content

Commit

Permalink
Trace
Browse files Browse the repository at this point in the history
  • Loading branch information
eggrobin committed Jan 21, 2025
1 parent 550372a commit ed70b82
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ void apply(StringBuilder remapped, BreakContext[] resolved) {
.findFirst();
if (!position.isPresent()) {
throw new IllegalArgumentException(("Rule " + name() +
" found a break at a position which does not correspond to an index in " +
" matched at position " + afterSearch.start() +
" in " + remapped +
" which does not correspond to an index in " +
"the original string"));
}
if (position.get().appliedRule == null &&
Expand Down

0 comments on commit ed70b82

Please sign in to comment.