summaryrefslogtreecommitdiff
path: root/test/files/detach-neg/det_bar.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-12-12 16:24:12 -0800
committerPaul Phillips <paulp@improving.org>2012-12-12 16:24:12 -0800
commit2d6ce2a10fd6e5627de586d616b8e7cb409d1417 (patch)
tree311a3d0fd15086a951d8e0f0d5e865f8e44cb6a7 /test/files/detach-neg/det_bar.scala
parent89decde4272c1428f884fd4c4d293cb6a8c7af13 (diff)
downloadscala-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/det_bar.scala')
-rw-r--r--test/files/detach-neg/det_bar.scala13
1 files changed, 0 insertions, 13 deletions
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))
-}