summaryrefslogtreecommitdiff
path: root/test/files/run/reflection-fieldsymbol-navigation.check
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-07-30 22:35:36 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-08-02 15:36:57 +0200
commit7112c66d6951ac83ae3591426291ec2797824258 (patch)
treef8da05ea01df38b658c4b0cc75e96900c6dd4f32 /test/files/run/reflection-fieldsymbol-navigation.check
parent37d4bfe77c1d8443e522a951cd404459a409035b (diff)
downloadscala-7112c66d6951ac83ae3591426291ec2797824258.tar.gz
scala-7112c66d6951ac83ae3591426291ec2797824258.tar.bz2
scala-7112c66d6951ac83ae3591426291ec2797824258.zip
navigation between fields and accessors
This works around SI-5736 that's been deemed too risky to be fixed in 2.10.0. A reflection newbie will be unlikely to acquire a field symbol from its name, but the `accessed` method provides an easy way to navigate to it from a getter.
Diffstat (limited to 'test/files/run/reflection-fieldsymbol-navigation.check')
-rw-r--r--test/files/run/reflection-fieldsymbol-navigation.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/reflection-fieldsymbol-navigation.check b/test/files/run/reflection-fieldsymbol-navigation.check
new file mode 100644
index 0000000000..79f0928ea5
--- /dev/null
+++ b/test/files/run/reflection-fieldsymbol-navigation.check
@@ -0,0 +1,6 @@
+method x
+false
+variable x
+true
+method x
+method x_=