diff options
author | Martin Odersky <odersky@gmail.com> | 2014-07-15 08:58:27 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-08-03 16:55:18 +0200 |
commit | 70bd06c81aa82e7b6ffd45d3d41e2817f0edb29b (patch) | |
tree | e7ddcb5ee315ee3af3308ca2f28f226b853839ee /src/dotty/tools/dotc/ast/TreeInfo.scala | |
parent | 2f298924940453ec0ed15afd36da8c66bd7e80d1 (diff) | |
download | dotty-70bd06c81aa82e7b6ffd45d3d41e2817f0edb29b.tar.gz dotty-70bd06c81aa82e7b6ffd45d3d41e2817f0edb29b.tar.bz2 dotty-70bd06c81aa82e7b6ffd45d3d41e2817f0edb29b.zip |
Eliminate JavaRepeatedParamClass
Having two repeated param classes (and two types) does not work,
because we need to maintain an overriding relationship between
Scala repeated param methods and Java repeated param methods (this
will be resolved later by bridges).
Diffstat (limited to 'src/dotty/tools/dotc/ast/TreeInfo.scala')
-rw-r--r-- | src/dotty/tools/dotc/ast/TreeInfo.scala | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/ast/TreeInfo.scala b/src/dotty/tools/dotc/ast/TreeInfo.scala index 1354f7375..cc3e53abc 100644 --- a/src/dotty/tools/dotc/ast/TreeInfo.scala +++ b/src/dotty/tools/dotc/ast/TreeInfo.scala @@ -175,7 +175,6 @@ trait TreeInfo[T >: Untyped <: Type] { self: Trees.Instance[T] => def isRepeatedParamType(tpt: Tree)(implicit ctx: Context) = tpt match { case tpt: TypeTree => tpt.typeOpt.isRepeatedParam case AppliedTypeTree(Select(_, tpnme.REPEATED_PARAM_CLASS), _) => true - case AppliedTypeTree(Select(_, tpnme.JAVA_REPEATED_PARAM_CLASS), _) => true case _ => false } |