Skip to content

private[this] syntax is deprecated in scala 3.4.x #1968

@KristianAN

Description

@KristianAN

The generated code will now cause the Scala 3.4.x compiler to emit the warning:

[warn] 36 |  private[this] def argEscape(k: String, v: String): String = Query.apply((k, Some(v))).toString
[warn]    |                ^
[warn]    |Ignoring [this] qualifier.
[warn]    |This syntax will be deprecated in the future; it should be dropped.
[warn]    |See: https://docs.scala-lang.org/scala3/reference/dropped-features/this-qualifier.html
[warn]    |This construct can be rewritten automatically under -rewrite -source 3.4-migration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions