diff options
author | Martin Odersky <odersky@gmail.com> | 2016-11-11 17:01:30 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-11-11 17:01:30 +0100 |
commit | 49cef124a7be97647db3ccdbb0b775f53e5265d0 (patch) | |
tree | 4c8bd34a5f8050890adb409821c0c4023195500f /src/dotty/tools/dotc/core/classfile | |
parent | 49022717bc0e8c0de8834f4cde5021e1da8c0ea0 (diff) | |
download | dotty-49cef124a7be97647db3ccdbb0b775f53e5265d0.tar.gz dotty-49cef124a7be97647db3ccdbb0b775f53e5265d0.tar.bz2 dotty-49cef124a7be97647db3ccdbb0b775f53e5265d0.zip |
Replace PolyType.fromSymbols with LambdaAbstract
As a side effect, avoid creating synthetic parameters in lambda abstract.
Diffstat (limited to 'src/dotty/tools/dotc/core/classfile')
-rw-r--r-- | src/dotty/tools/dotc/core/classfile/ClassfileParser.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala b/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala index 1570dbca0..97a82e80d 100644 --- a/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala +++ b/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala @@ -217,7 +217,7 @@ class ClassfileParser( if (isEnum) denot.info = ConstantType(Constant(sym)) if (isConstructor) stripOuterParamFromConstructor() setPrivateWithin(denot, jflags) - denot.info = depoly(parseAttributes(sym, denot.info), denot) + denot.info = translateTempPoly(parseAttributes(sym, denot.info)) if (isConstructor) normalizeConstructorInfo() if ((denot is Flags.Method) && (jflags & JAVA_ACC_VARARGS) != 0) |