Skip to content

Scala 3.4 with "-source:future" fails to compile xml literals #22223

@goshacodes

Description

@goshacodes

Compiler version

3.4.2
"-source:future"

Minimized code

val xml = <foo></foo>

Output

XML literals are no longer supported. See https://docs.scala-lang.org/scala3/reference/dropped-features/xml.html

Expectation

Compiles since there is no stable solution. Only some semester project from 2019 with no documentation.

Will it be merged to the language? Or will it exist as a standalone library?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions