summaryrefslogtreecommitdiff
path: root/test/files/run/t6023.check
diff options
context:
space:
mode:
authorYour Name <entcrd@gmail.com>2012-11-22 20:45:50 +0100
committerEugene Burmako <xeno.by@gmail.com>2012-11-23 08:17:29 +0100
commit548a54d708d8aaceea6abe0931aabaa70b2cd925 (patch)
treeb19851d1264adea4a6cff3dbfd117cd89383d1a8 /test/files/run/t6023.check
parenta0e642b7fe608b869071b690e7907b934b10db5a (diff)
downloadscala-548a54d708d8aaceea6abe0931aabaa70b2cd925.tar.gz
scala-548a54d708d8aaceea6abe0931aabaa70b2cd925.tar.bz2
scala-548a54d708d8aaceea6abe0931aabaa70b2cd925.zip
SI-6023 reify abstract vals
Type trees created by MethodSynthesis for abstract val getters carry symless originals, which are unusable for reification purposes (or the result of reification will be unhygienic). To combat this, type trees for such getters are now created empty, i.e. without any `tpe` set, just having an original assigned. Subsequent `typedTypeTree` invocations fill in the `tpe` and update the original to be symful.
Diffstat (limited to 'test/files/run/t6023.check')
-rw-r--r--test/files/run/t6023.check12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/run/t6023.check b/test/files/run/t6023.check
new file mode 100644
index 0000000000..ee93565234
--- /dev/null
+++ b/test/files/run/t6023.check
@@ -0,0 +1,12 @@
+{
+ abstract trait Foo extends AnyRef {
+ <stable> <accessor> def a: Int
+ };
+ ()
+}
+{
+ abstract trait Foo extends AnyRef {
+ <stable> <accessor> def a: Int
+ };
+ ()
+}