diff options
author | Alexey Romanov <alexey.v.romanov@gmail.com> | 2015-08-20 13:12:02 +0300 |
---|---|---|
committer | Alexey Romanov <alexey.romanov@huawei.com> | 2015-09-14 15:48:33 +0300 |
commit | 98fd36872277bb12fa9482efdd19171347a236dc (patch) | |
tree | 366ea900faddbda0f8e52315ea355fb64cf31a5c /test | |
parent | cd77e23b76af8538ed7e2c5c90e7845582dff460 (diff) | |
download | scala-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')
-rw-r--r-- | test/files/run/reflection-fieldmirror-ctorparam.check | 6 |
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. |