diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-02-24 22:17:49 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-02-24 22:17:49 +0100 |
commit | d1b16c4dc484d5f431bc4635148b065e722b2315 (patch) | |
tree | 6c1438812080467b154217ce55ddb58b5bb2b763 /src/compiler/scala/tools/nsc/ast/parser/Parsers.scala | |
parent | bf118cfe90349f023bd5ea7b060b0cbf76d7ab46 (diff) | |
download | scala-d1b16c4dc484d5f431bc4635148b065e722b2315.tar.gz scala-d1b16c4dc484d5f431bc4635148b065e722b2315.tar.bz2 scala-d1b16c4dc484d5f431bc4635148b065e722b2315.zip |
Don't override empty-paren methods as paren-less.
An exception is made for toString.
Diffstat (limited to 'src/compiler/scala/tools/nsc/ast/parser/Parsers.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/parser/Parsers.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala index 61c65c211b..183aa7f294 100644 --- a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala +++ b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala @@ -170,8 +170,8 @@ self => val global: self.global.type = self.global } - def xmlLiteral : Tree = xmlp.xLiteral - def xmlLiteralPattern : Tree = xmlp.xLiteralPattern + def xmlLiteral() : Tree = xmlp.xLiteral + def xmlLiteralPattern() : Tree = xmlp.xLiteralPattern } class OutlineParser(source: SourceFile) extends SourceFileParser(source) { |