diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-07-11 14:46:01 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-07-17 15:25:07 +0200 |
commit | bab827a5426aeb654006573712eb7aabc047db36 (patch) | |
tree | b302480d37b362777f5f7fa2737df756c5d88fac /test/files/run/reflection-fieldmirror-sanitycheck.check | |
parent | 0cfd858a38ddf0ac83d9bbefe85110f88dc707c0 (diff) | |
download | scala-bab827a5426aeb654006573712eb7aabc047db36.tar.gz scala-bab827a5426aeb654006573712eb7aabc047db36.tar.bz2 scala-bab827a5426aeb654006573712eb7aabc047db36.zip |
SI-5895 fixes FieldMirrors
reflectField now accepts getters and setters along with the field symbols,
it also checks whether a field has a reasonable binary representation
(this is necessary, because ctor parameters that are unused outside of their
declaring constructors don't get compiled down to Java fields/methods).
Diffstat (limited to 'test/files/run/reflection-fieldmirror-sanitycheck.check')
-rw-r--r-- | test/files/run/reflection-fieldmirror-sanitycheck.check | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/files/run/reflection-fieldmirror-sanitycheck.check b/test/files/run/reflection-fieldmirror-sanitycheck.check deleted file mode 100644 index e5134de4e3..0000000000 --- a/test/files/run/reflection-fieldmirror-sanitycheck.check +++ /dev/null @@ -1,6 +0,0 @@ -expected a field symbol, you provided a method symbol -A typical cause of this problem is using a field accessor symbol instead of a field symbol. -To obtain a field symbol append nme.LOCAL_SUFFIX_STRING to the name of the field, -when searching for a member with Type.members or Type.declarations. -This is a temporary inconvenience that will be resolved before 2.10.0-final. -More information can be found here: https://issues.scala-lang.org/browse/SI-5895.
|