diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2015-09-08 14:13:43 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2015-09-08 14:13:43 +1000 |
commit | 468abc47999a39801f9e8672900fea797dea6611 (patch) | |
tree | 897a56160c0f12c53c2f37fa2cdbd33e10ca5290 /src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala | |
parent | 732d2153b1470a45c0b2d7bd2966ff47c52ff840 (diff) | |
parent | df61ab67d3c32e8e996874206299938f5bd1584d (diff) | |
download | scala-468abc47999a39801f9e8672900fea797dea6611.tar.gz scala-468abc47999a39801f9e8672900fea797dea6611.tar.bz2 scala-468abc47999a39801f9e8672900fea797dea6611.zip |
Merge pull request #4709 from adriaanm/namers-accessors
Streamline logic related to accessor derivation in MethodSynthesis & Namers
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala b/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala index 94e56a8e52..c9d3b3da96 100644 --- a/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala +++ b/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala @@ -1105,7 +1105,7 @@ trait ContextErrors { def GetterDefinedTwiceError(getter: Symbol) = issueSymbolTypeError(getter, getter+" is defined twice") - def ValOrValWithSetterSuffixError(tree: Tree) = + def ValOrVarWithSetterSuffixError(tree: Tree) = issueNormalTypeError(tree, "Names of vals or vars may not end in `_='") def PrivateThisCaseClassParameterError(tree: Tree) = |