summaryrefslogtreecommitdiff
path: root/test/files/run/reflection-fieldmirror-ctorparam.check
diff options
context:
space:
mode:
authorAlexey Romanov <alexey.v.romanov@gmail.com>2015-08-20 13:12:02 +0300
committerAlexey Romanov <alexey.romanov@huawei.com>2015-09-14 15:48:33 +0300
commit98fd36872277bb12fa9482efdd19171347a236dc (patch)
tree366ea900faddbda0f8e52315ea355fb64cf31a5c /test/files/run/reflection-fieldmirror-ctorparam.check
parentcd77e23b76af8538ed7e2c5c90e7845582dff460 (diff)
downloadscala-98fd36872277bb12fa9482efdd19171347a236dc.tar.gz
scala-98fd36872277bb12fa9482efdd19171347a236dc.tar.bz2
scala-98fd36872277bb12fa9482efdd19171347a236dc.zip
Include owner in ErrorNonExistentField message
This should be particularly helpful for synthetic field names like `evidence$21`.
Diffstat (limited to 'test/files/run/reflection-fieldmirror-ctorparam.check')
-rw-r--r--test/files/run/reflection-fieldmirror-ctorparam.check6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/reflection-fieldmirror-ctorparam.check b/test/files/run/reflection-fieldmirror-ctorparam.check
index e391e7ccfe..c66be94ed7 100644
--- a/test/files/run/reflection-fieldmirror-ctorparam.check
+++ b/test/files/run/reflection-fieldmirror-ctorparam.check
@@ -1,3 +1,3 @@
-class scala.ScalaReflectionException: Scala field x isn't represented as a Java field, neither it has a Java accessor method
-note that private parameters of class constructors don't get mapped onto fields and/or accessors,
-unless they are used outside of their declaring constructors.
+class scala.ScalaReflectionException: Scala field x of class A isn't represented as a Java field, nor does it have a
+Java accessor method. One common reason for this is that it may be a private class parameter
+not used outside the primary constructor.