diff --git a/parsley/shared/src/main/scala/parsley/internal/deepembedding/frontend/PrimitiveEmbedding.scala b/parsley/shared/src/main/scala/parsley/internal/deepembedding/frontend/PrimitiveEmbedding.scala index ac316e6eb..9c08b6e2c 100644 --- a/parsley/shared/src/main/scala/parsley/internal/deepembedding/frontend/PrimitiveEmbedding.scala +++ b/parsley/shared/src/main/scala/parsley/internal/deepembedding/frontend/PrimitiveEmbedding.scala @@ -44,7 +44,7 @@ private [parsley] final class Put[S](val ref: Ref[S], _p: LazyParsley[S]) extend // $COVERAGE-OFF$ override def visit[T, U[+_]](visitor: LazyParsleyIVisitor[T, U], context: T): U[Unit] = visitor.visit(this, context)(ref, _p) - override private[parsley] def prettyName = "Reg.put" + override private[parsley] def prettyName = "Ref.set" // $COVERAGE-ON$ } private [parsley] final class NewReg[S, A](val ref: Ref[S], init: LazyParsley[S], body: =>LazyParsley[A]) extends Binary[S, A, A](init, body) with UsesRef { @@ -53,7 +53,7 @@ private [parsley] final class NewReg[S, A](val ref: Ref[S], init: LazyParsley[S] // $COVERAGE-OFF$ override def visit[T, U[+_]](visitor: LazyParsleyIVisitor[T, U], context: T): U[A] = visitor.visit(this, context)(ref, init, body) - override private[parsley] def prettyName = "fillReg" + override private[parsley] def prettyName = "fillRef" // $COVERAGE-ON$ } private [parsley] final class Span(p: LazyParsley[_]) extends Unary[Any, String](p) { diff --git a/parsley/shared/src/main/scala/parsley/internal/deepembedding/singletons/IntrinsicEmbedding.scala b/parsley/shared/src/main/scala/parsley/internal/deepembedding/singletons/IntrinsicEmbedding.scala index 3554074a4..d063371cc 100644 --- a/parsley/shared/src/main/scala/parsley/internal/deepembedding/singletons/IntrinsicEmbedding.scala +++ b/parsley/shared/src/main/scala/parsley/internal/deepembedding/singletons/IntrinsicEmbedding.scala @@ -24,7 +24,7 @@ private [parsley] final class CharTok[A](private val c: Char, private val x: A, // $COVERAGE-OFF$ override def visit[T, U[+_]](visitor: LazyParsleyIVisitor[T, U], context: T): U[A] = visitor.visit(this, context)(c, x, expected) - override private[parsley] def prettyName: String = "charTok" + override private[parsley] def prettyName: String = "char" // $COVERAGE-ON$ } @@ -40,7 +40,7 @@ private [parsley] final class SupplementaryCharTok[A](private val codepoint: Int // $COVERAGE-OFF$ override def visit[T, U[+_]](visitor: LazyParsleyIVisitor[T, U], context: T): U[A] = visitor.visit(this, context)(codepoint, x, expected) - override private[parsley] def prettyName: String = "supplementaryCharTok" + override private[parsley] def prettyName: String = "char" // $COVERAGE-ON$ } @@ -58,7 +58,7 @@ private [parsley] final class StringTok[A](private val s: String, private val x: // $COVERAGE-OFF$ override def visit[T, U[+_]](visitor: LazyParsleyIVisitor[T, U], context: T): U[A] = visitor.visit(this, context)(s, x, expected) - override private[parsley] def prettyName: String = "stringTok" + override private[parsley] def prettyName: String = "string" // $COVERAGE-ON$ } @@ -106,7 +106,7 @@ private [parsley] final class Modify[S](val ref: Ref[S], f: S => S) extends Sing // $COVERAGE-OFF$ override def visit[T, U[+_]](visitor: LazyParsleyIVisitor[T, U], context: T): U[Unit] = visitor.visit(this, context)(ref, f) - override private[parsley] def prettyName = "Reg.modify" + override private[parsley] def prettyName = "Ref.update" // $COVERAGE-ON$ }