diff options
author | Martin Odersky <odersky@gmail.com> | 2014-10-19 18:43:07 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-10-26 16:24:01 +0100 |
commit | 7167c225841a8261086e42e3e8721a4059a484bb (patch) | |
tree | 1a7aaeeb2af1393f04a9bd193135a5572f05c900 | |
parent | 1a81244b68e58bde6a3d03551f1d92f15c3ff719 (diff) | |
download | dotty-7167c225841a8261086e42e3e8721a4059a484bb.tar.gz dotty-7167c225841a8261086e42e3e8721a4059a484bb.tar.bz2 dotty-7167c225841a8261086e42e3e8721a4059a484bb.zip |
Implement findMember for JavaArrays
... by forwarding to Object. Without this, LambdaLift fails for core/Contexts.scala.
-rw-r--r-- | src/dotty/tools/dotc/core/Types.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/Types.scala b/src/dotty/tools/dotc/core/Types.scala index 33ce71ad3..d0ddfdd28 100644 --- a/src/dotty/tools/dotc/core/Types.scala +++ b/src/dotty/tools/dotc/core/Types.scala @@ -410,6 +410,8 @@ object Types { goAnd(l, r) case OrType(l, r) => goOr(l, r) + case tp: JavaArrayType => + defn.ObjectType.findMember(name, pre, excluded) case ErrorType => ctx.newErrorSymbol(pre.classSymbol orElse defn.RootClass, name) case _ => |