Skip to content

Conversation

@HarrisL2
Copy link

@HarrisL2 HarrisL2 commented Dec 3, 2025

This PR changes types throughout the project to be explicitly nullable where applicable. This allows downstream projects to use scala-xml without running into nullability issues if they choose to enable -Yexplicit-nulls in their own project.

However, this PR does not add the -Yexplicit-nulls flag to build.sbt since in compiler version 3.3.x, there were less features for implicit null compatibility with Java symbols, and the project does not compile with the flag enabled. When on version 3.8.0-RC2, the project can be compiled with explicit nulls enabled.

@olhotak olhotak requested review from SethTisue and lrytz December 4, 2025 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant