diff options
author | Lukas Rytz <lukas.rytz@typesafe.com> | 2015-09-18 13:28:41 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@typesafe.com> | 2015-09-18 13:28:41 +0200 |
commit | a757be140c2a6cfb5464c28f8a4aaa764c095306 (patch) | |
tree | 0256c2d8e3d035ed9a3cb9c27d3083168f9e4db5 /test/files | |
parent | 2c5cb7a2e8075d7eca0d47e2ceaf361c1cc82db8 (diff) | |
parent | 98fd36872277bb12fa9482efdd19171347a236dc (diff) | |
download | scala-a757be140c2a6cfb5464c28f8a4aaa764c095306.tar.gz scala-a757be140c2a6cfb5464c28f8a4aaa764c095306.tar.bz2 scala-a757be140c2a6cfb5464c28f8a4aaa764c095306.zip |
Merge pull request #4699 from alexeyr/patch-1
Include owner in ErrorNonExistentField message
Diffstat (limited to 'test/files')
-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. |