Skip to content

Fix #51 Test compat for -Xxml:coalescing #61

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

Closed
wants to merge 1 commit into from

Conversation

som-snytt
Copy link
Contributor

Rather than maintain a test to compile under multiple
regimes, just build under -Xxml:coalescing.

A few other flags are supplied. Deprecation is not yet
possible because of WordExp et al. Renamed test classes
A and B because sometimes it's nice to have a type
parameter called A or B.

-Xlint:stars-align must be off until 2.12.0-M2 arrives with scala/scala#4537.

This tests for me with version 2.12, but I couldn't get it to fail, either, so I hope @adriaanm will verify at least with eyeballs.

Review by @biswanaths

Isn't it supposed to autocomplete the maintainer's name?

Rather than maintain a test to compile under multiple
regimes, just build under `-Xxml:coalescing`.

A few other flags are supplied. Deprecation is not yet
possible because of `WordExp` et al. Renamed test classes
`A` and `B` because sometimes it's nice to have a type
parameter called `A` or `B`.
@som-snytt
Copy link
Contributor Author

Apparently ScalaDoc warning messages fail under -Xfatal-warnings even though I also enabled -Ycouldnt-care-less-about-scaladoc.

@biswanaths
Copy link
Contributor

@som-snytt, we need to add -Xadriaanm-give-some-love-to-scala-xml . Alas we are ageing hipster minority. @adriaanm

@adriaanm
Copy link
Contributor

Once 2.12.0-M2 is out, I'll spend some loving attention on this. I'd like to coordinate with getting rid of the hack in scala/scala#4614

@som-snytt
Copy link
Contributor Author

Sorry you had to hack, @adriaanm . The goal is surely to get high-value targets like yourself out of the module loop, and let maintainers maintain.

Just touching this PR, I was overcome by the stench of bit rot. I also got a taste of my own medicine around the scalac options and spurious warnings. It definitely satisfied my hankering and maybe put me off it for ever.

@adriaanm
Copy link
Contributor

The patient is grateful for the firm hand -- thanks for holding your nose and ripping it all out.

@SethTisue SethTisue self-assigned this Jul 21, 2015
@SethTisue
Copy link
Member

thanks @som-snytt, this was extremely helpful, as I didn't know any of the history on this.

superseded now by #64 (which just adds some commits on top of yours)

@SethTisue SethTisue closed this Jul 21, 2015
SethTisue added a commit that referenced this pull request Jul 24, 2015
@SethTisue SethTisue added this to the 1.0.5 milestone Jul 24, 2015
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.

4 participants