diff options
author | Paul Phillips <paulp@improving.org> | 2012-12-12 16:24:12 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-12-12 16:24:12 -0800 |
commit | 2d6ce2a10fd6e5627de586d616b8e7cb409d1417 (patch) | |
tree | 311a3d0fd15086a951d8e0f0d5e865f8e44cb6a7 /test/files/detach-neg | |
parent | 89decde4272c1428f884fd4c4d293cb6a8c7af13 (diff) | |
download | scala-2d6ce2a10fd6e5627de586d616b8e7cb409d1417.tar.gz scala-2d6ce2a10fd6e5627de586d616b8e7cb409d1417.tar.bz2 scala-2d6ce2a10fd6e5627de586d616b8e7cb409d1417.zip |
Removed src/detach.
Prying one more stowaway off the side of the train.
This isn't used, hasn't been used, and won't be used.
Diffstat (limited to 'test/files/detach-neg')
-rw-r--r-- | test/files/detach-neg/det_bar.check | 4 | ||||
-rw-r--r-- | test/files/detach-neg/det_bar.scala | 13 |
2 files changed, 0 insertions, 17 deletions
diff --git a/test/files/detach-neg/det_bar.check b/test/files/detach-neg/det_bar.check deleted file mode 100644 index 70b47581a5..0000000000 --- a/test/files/detach-neg/det_bar.check +++ /dev/null @@ -1,4 +0,0 @@ -det_bar.scala:7: error: detach inapplicable for method bar - detach(bar) - ^ -one error found diff --git a/test/files/detach-neg/det_bar.scala b/test/files/detach-neg/det_bar.scala deleted file mode 100644 index 862afb1d6e..0000000000 --- a/test/files/detach-neg/det_bar.scala +++ /dev/null @@ -1,13 +0,0 @@ -import scala.remoting._ -class A(y: Int) { - var z = 2 - var bar = (x: Int) => x + y + z - def foo(x: Int): Int = x + y + z - bar = (x: Int) => x * y - detach(bar) -} - -object test extends App { - val a = new A(1) - println(a.bar(2)) -} |