diff options
author | Martin Odersky <odersky@gmail.com> | 2010-05-25 16:18:05 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2010-05-25 16:18:05 +0000 |
commit | 6ecd2f3ef0384dd761c52b1129c5e7219ad319c3 (patch) | |
tree | 3a08d6a7d11220797a9f1527933c0c4193d376a5 | |
parent | bb83cb8ba76643d3e8de9d34351efbd4fc963f84 (diff) | |
download | scala-6ecd2f3ef0384dd761c52b1129c5e7219ad319c3.tar.gz scala-6ecd2f3ef0384dd761c52b1129c5e7219ad319c3.tar.bz2 scala-6ecd2f3ef0384dd761c52b1129c5e7219ad319c3.zip |
Fixe for botched Parser checking for #3454.
-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 1313698167..f4fa76e6b1 100644 --- a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala +++ b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala @@ -1788,7 +1788,7 @@ self => mods |= Flags.MUTABLE in.nextToken() } else if (!caseParam) { - if (mods.flags == Flags.PARAMACCESSOR) accept(VAL) + if (mods.flags != Flags.PARAMACCESSOR) accept(VAL) mods |= Flags.PRIVATE | Flags.LOCAL } if (caseParam) { |