diff options
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala')
-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 a0e4cc62b..131c9cf9b 100644 --- a/compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala +++ b/compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala @@ -256,7 +256,7 @@ class ClassfileParser( def subName(isDelimiter: Char => Boolean): TermName = { val start = index while (!isDelimiter(sig(index))) { index += 1 } - sig.slice(start, index) + sig.slice(start, index).asTermName } // Warning: sigToType contains nested completers which might be forced in a later run! // So local methods need their own ctx parameters. |