Skip to content

SI-7624 Fix -feature and some -Xlint warnings#2727

Closed
soc wants to merge 7 commits intoscala:masterfrom
soc:SI-7624
Closed

SI-7624 Fix -feature and some -Xlint warnings#2727
soc wants to merge 7 commits intoscala:masterfrom
soc:SI-7624

Conversation

@soc
Copy link
Copy Markdown
Contributor

@soc soc commented Jul 12, 2013

Changes build.xml to build Scala with -feature enabled.

@soc
Copy link
Copy Markdown
Contributor Author

soc commented Jul 12, 2013

New version of #2705.

Review by @adriaanm, please.

@gkossakowski
Copy link
Copy Markdown
Contributor

I'll have a look into this tomorrow.

@gkossakowski
Copy link
Copy Markdown
Contributor

PLS REBUILD ALL

@scala-jenkins
Copy link
Copy Markdown

(kitty-note-to-self: ignore 21694070)
🐱 Roger! Rebuilding pr-rangepos-per-commit, pr-checkin-per-commit for 35868371, 49169a89, 1cbfb9d0, 09a7962d. 🚨

@gkossakowski
Copy link
Copy Markdown
Contributor

@soc: excellent work. Please address my two comments.

soc added 5 commits July 29, 2013 15:57
I left one warning untouched, because instead of adding the import the
diagnostics should be fixed:

    scala/src/library/scala/collection/parallel/mutable/LazyCombiner.scala:33:
    warning: the existential type
        scala.collection.parallel.mutable.LazyCombiner[_$1,_$2,_$3] forSome {
          type _$1; type _$2; type _$3 <: scala.collection.generic.Growable[_$1] with scala.collection.generic.Sizing },
    which cannot be expressed by wildcards, should be enabled by making the implicit value scala.language.existentials visible.
    if (other.isInstanceOf[LazyCombiner[_, _, _]]) {
                       ^
The files are not regenerated here, because additional fixes will
follow in the next commit.
@soc
Copy link
Copy Markdown
Contributor Author

soc commented Jul 29, 2013

@gkossakowski @adriaanm I split the commit as mentioned (see 2nd and 3rd one). I also added a new one (6th) which fixes feature warnings is scala/tools/scalap, I must have missed that package the first time.

This has grown to a much larger clean-up than originally intended ...
@soc
Copy link
Copy Markdown
Contributor Author

soc commented Jul 29, 2013

7th is new, too, but has no semantic changes.

@adriaanm
Copy link
Copy Markdown
Contributor

adriaanm commented Aug 6, 2013

@soc, accidentally deleted your comment, sorry! We'll take care of rebasing this PR since it took us so long to get it merged

@adriaanm adriaanm mentioned this pull request Aug 6, 2013
@adriaanm adriaanm closed this Aug 6, 2013
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