diff options
author | Eugene Vigdorchik <eugene.vigdorchik@gmail.com> | 2013-04-08 14:12:26 +0400 |
---|---|---|
committer | Eugene Vigdorchik <eugene.vigdorchik@gmail.com> | 2013-04-08 16:12:20 +0400 |
commit | 2885eb0b2d49c33c707cecd2ee7b9588fe3f76ab (patch) | |
tree | 4ae9b127439ae8dec0a8da3f0461130437dae2d8 /test | |
parent | 53e031f55386d131b1aaa5fb93ee1a3ac6bce646 (diff) | |
download | scala-2885eb0b2d49c33c707cecd2ee7b9588fe3f76ab.tar.gz scala-2885eb0b2d49c33c707cecd2ee7b9588fe3f76ab.tar.bz2 scala-2885eb0b2d49c33c707cecd2ee7b9588fe3f76ab.zip |
Revert "SI-6387 Clones accessor before name expansion"
This reverts commit 4e10b2c833fa846c68b81e94a08d867e7de656aa.
Add 6387 test to pending and 7341 to up-to-date.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/t7341.check | 0 | ||||
-rwxr-xr-x | test/files/run/t7341.flags | 1 | ||||
-rwxr-xr-x | test/files/run/t7341.scala | 15 | ||||
-rw-r--r-- | test/pending/run/t6387.check (renamed from test/files/run/t6387.check) | 0 | ||||
-rw-r--r-- | test/pending/run/t6387.scala (renamed from test/files/run/t6387.scala) | 0 |
5 files changed, 16 insertions, 0 deletions
diff --git a/test/files/run/t7341.check b/test/files/run/t7341.check new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/test/files/run/t7341.check diff --git a/test/files/run/t7341.flags b/test/files/run/t7341.flags new file mode 100755 index 0000000000..ae08446055 --- /dev/null +++ b/test/files/run/t7341.flags @@ -0,0 +1 @@ +-Xcheckinit
\ No newline at end of file diff --git a/test/files/run/t7341.scala b/test/files/run/t7341.scala new file mode 100755 index 0000000000..dc526c6c19 --- /dev/null +++ b/test/files/run/t7341.scala @@ -0,0 +1,15 @@ +object Obj { + private var cache: Any = () + def returning(f: () => Unit) = () + def foo { + returning(() => cache = ()) + } + + def apply(): Any = { + cache + } +} + +object Test extends App { + Obj() +} diff --git a/test/files/run/t6387.check b/test/pending/run/t6387.check index 83b33d238d..83b33d238d 100644 --- a/test/files/run/t6387.check +++ b/test/pending/run/t6387.check diff --git a/test/files/run/t6387.scala b/test/pending/run/t6387.scala index bbebb5f511..bbebb5f511 100644 --- a/test/files/run/t6387.scala +++ b/test/pending/run/t6387.scala |