diff options
author | Alexey Romanov <alexey.v.romanov@gmail.com> | 2015-08-20 13:12:02 +0300 |
---|---|---|
committer | Alexey Romanov <alexey.v.romanov@gmail.com> | 2015-09-18 18:38:31 +0300 |
commit | 19b95504732dcb4699e403134e2c752dfb045c02 (patch) | |
tree | 9892cbe21481f601c2ac3879e68095940e8ca9c4 /test/files/run/reflection-fieldmirror-ctorparam.check | |
parent | c287df96cf42084828d9528353d5c7ad5c0e4b3a (diff) | |
download | scala-19b95504732dcb4699e403134e2c752dfb045c02.tar.gz scala-19b95504732dcb4699e403134e2c752dfb045c02.tar.bz2 scala-19b95504732dcb4699e403134e2c752dfb045c02.zip |
[backport] 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.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. |