-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Deprecate XML literals #19100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Also, I think the XML chapter of the Scala 3 spec could be deleted. I don't think we need to wait for the feature to actually be deleted from the compiler. It's already legacy, and it will remain available in the Scala 2 spec for reference. cc @sjrd |
with #19101 merged, the default behavior remains not-even-a-warning, but the
|
This behavior was intentional. We decided to deprecate it later. See https://github.com/orgs/lampepfl/projects/2/views/11 |
Someone could check and see if the error is downgradeable to a warning, or silenceable entirely, using the |
@SethTisue I've tried
|
Uh oh!
There was an error while loading. Please reload this page.
@nicolasstucki seems like probably an oversight that there isn't already a ticket on this? (that I can find)
not sure what the right timetable is. at present, it doesn't even warn under
-source:future
at minimum, I think it should warn under
-source:future
, as the SIP committee has already authorized the eventual removal of XML literals from the language, and the Scala 3 reference doc already lists it under "Dropped Features" (https://docs.scala-lang.org/scala3/reference/dropped-features/xml.html)whether it's time to actually deprecate, I don't have a strong opinion about. I don't know how polished or usable https://github.com/lampepfl/xml-interpolator is. the availability of a suitable substitute has always been the major concern here, iirc
The text was updated successfully, but these errors were encountered: