aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/scala/async/run/anf/AnfTransformSpec.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/scala/async/run/anf/AnfTransformSpec.scala')
-rw-r--r--src/test/scala/scala/async/run/anf/AnfTransformSpec.scala35
1 files changed, 18 insertions, 17 deletions
diff --git a/src/test/scala/scala/async/run/anf/AnfTransformSpec.scala b/src/test/scala/scala/async/run/anf/AnfTransformSpec.scala
index 41c13e0..03db205 100644
--- a/src/test/scala/scala/async/run/anf/AnfTransformSpec.scala
+++ b/src/test/scala/scala/async/run/anf/AnfTransformSpec.scala
@@ -112,23 +112,24 @@ class AnfTransformSpec {
State.result mustBe (14)
}
- @Test
- def `inlining block does not produce duplicate definition`() {
- import scala.async.AsyncId
-
- AsyncId.async {
- val f = 12
- val x = AsyncId.await(f)
-
- {
- type X = Int
- val x: X = 42
- println(x)
- }
- type X = Int
- x: X
- }
- }
+// TODO 2.10.1
+// @Test
+// def `inlining block does not produce duplicate definition`() {
+// import scala.async.AsyncId
+//
+// AsyncId.async {
+// val f = 12
+// val x = AsyncId.await(f)
+//
+// {
+// type X = Int
+// val x: X = 42
+// println(x)
+// }
+// type X = Int
+// x: X
+// }
+// }
@Test
def `inlining block in tail position does not produce duplicate definition`() {