diff options
author | Martin Odersky <odersky@gmail.com> | 2017-03-12 10:50:35 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-03-14 12:05:29 +0100 |
commit | 6ec9fa443679acbd1cbfa4775debbd2ba6420a41 (patch) | |
tree | 28df82635c2941af57fd4f4d4a50f5323db6284c /compiler/src/dotty/tools/dotc/core/classfile | |
parent | 86bf552cd421288b00525eb1a264652ee32d742d (diff) | |
download | dotty-6ec9fa443679acbd1cbfa4775debbd2ba6420a41.tar.gz dotty-6ec9fa443679acbd1cbfa4775debbd2ba6420a41.tar.bz2 dotty-6ec9fa443679acbd1cbfa4775debbd2ba6420a41.zip |
Drop mixed MethodType apply method
The dropped method takes direct parameter types but a result type expression.
Since parameter types are now in general dependent as well, that method is
mostly redundant.
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/classfile')
-rw-r--r-- | compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala b/compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala index bfb4daa71..bc140c26b 100644 --- a/compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala +++ b/compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala @@ -339,7 +339,7 @@ class ClassfileParser( } index += 1 val restype = sig2type(tparams, skiptvs) - JavaMethodType(paramnames.toList, paramtypes.toList)(_ => restype) + JavaMethodType(paramnames.toList, paramtypes.toList, restype) case 'T' => val n = subName(';'.==).toTypeName index += 1 |