diff options
author | Paul Phillips <paulp@improving.org> | 2010-10-07 06:46:51 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-10-07 06:46:51 +0000 |
commit | 34c872d1a775697b1c76ff78f49b84c8ca39f42e (patch) | |
tree | af4146cae193340491f181420e9c0ea62d4dc6de /src | |
parent | cd92aad821eb476f68ea85fb9b149ee185a08e97 (diff) | |
download | scala-34c872d1a775697b1c76ff78f49b84c8ca39f42e.tar.gz scala-34c872d1a775697b1c76ff78f49b84c8ca39f42e.tar.bz2 scala-34c872d1a775697b1c76ff78f49b84c8ca39f42e.zip |
Positioning fix closes #3092, no review.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/parser/Parsers.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala index b414981665..392afcc14e 100644 --- a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala +++ b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala @@ -1882,7 +1882,7 @@ self => val start = in.offset newLineOptWhenFollowedBy(LPAREN) if (ofCaseClass && in.token != LPAREN) - deprecationWarning(in.offset, "case classes without a parameter list have been deprecated;\n"+ + deprecationWarning(in.lastOffset, "case classes without a parameter list have been deprecated;\n"+ "use either case objects or case classes with `()' as parameter list.") while (implicitmod == 0 && in.token == LPAREN) { in.nextToken() |