Skip to content

Commit

Permalink
Use forgotten pos value
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Apr 8, 2024
1 parent 5933e71 commit 02eff7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/bin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ object Rudiments:

case idx =>
val pos = Position(startPos.sourceFile, startPos.start + idx, startPos.start + idx + 1)
fail(msg"${nibbles(idx)} is not a valid hexadecimal character")
fail(msg"${nibbles(idx)} is not a valid hexadecimal character", pos)

val nibbles3 = nibbles2.filterNot { ch => ch == ' ' || ch == '\n' }

Expand Down

0 comments on commit 02eff7e

Please sign in to comment.