diff options
author | Paul Phillips <paulp@improving.org> | 2013-02-01 18:19:11 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-02-02 01:41:44 -0800 |
commit | e3d9a08e08088cf6631eb0a7dbabf8360c4618a0 (patch) | |
tree | 99346a8b24535f0776fb04cce2c7b74db9ee9fd4 /src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala | |
parent | 29128012800ac99e05552b0d52246c2691f18b83 (diff) | |
download | scala-e3d9a08e08088cf6631eb0a7dbabf8360c4618a0.tar.gz scala-e3d9a08e08088cf6631eb0a7dbabf8360c4618a0.tar.bz2 scala-e3d9a08e08088cf6631eb0a7dbabf8360c4618a0.zip |
Cleaning up after brutal merge of 2.10.x into master.
That's the best I can do. The tests pass, if someone wants
a cleaner merge it is all theirs.
For reference, the merge leading up to this commit was achieved
as follows. The lines with -s ours are where the merge commit
being merged was completely made up of backports from master.
git merge -s ours eff78b852e c1dd8bbaa4 && \
git merge 7026376dcc ccd7abe897 && \
git merge -s ours 62681e191a && \
git merge 74b3e9aefe 7d80e08469 d24f341f08 c4f49759fe \
27d73a2352 ba72ee7c6f 42c4cc7a1e d672102fd8 644eb7078a && \
git merge -s ours 08596af059 b573c287d2 && \
git merge d1b6d8b20f && \
git merge -s ours 110b54a575 36f78dd606 309ff57ba6 && \
git merge 06295f9682 d3886086c3 adf51eef76 b403234a27 && \
git merge -s ours 09d1433064 && \
git merge 9ddcc1b90e cabf626bbc && \
git merge -s ours 283924bfa5
Diffstat (limited to 'src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala b/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala index 0e991a5d72..45ec73ab99 100644 --- a/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala +++ b/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala @@ -462,13 +462,6 @@ abstract class ExplicitOuter extends InfoTransform } case _ => - if (settings.Xmigration.value < ScalaVersion.twoDotEight) tree match { - case TypeApply(fn @ Select(qual, _), args) if fn.symbol == Object_isInstanceOf || fn.symbol == Any_isInstanceOf => - if (isArraySeqTest(qual.tpe, args.head.tpe)) - unit.warning(tree.pos, "An Array will no longer match as Seq[_].") - case _ => () - } - val x = super.transform(tree) if (x.tpe eq null) x else x setType transformInfo(currentOwner, x.tpe) |