aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/scala/async/neg
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2012-11-21 23:46:46 +0100
committerJason Zaugg <jzaugg@gmail.com>2012-11-21 23:46:46 +0100
commitb089630c223d510899ecf74f0cd57b0ae3ad3842 (patch)
tree235861633c4fcfbfef5d495ef3516eb5526146c1 /src/test/scala/scala/async/neg
parent10aa18736a1d5161f9ad34ebcd9a6a756c904666 (diff)
downloadscala-async-b089630c223d510899ecf74f0cd57b0ae3ad3842.tar.gz
scala-async-b089630c223d510899ecf74f0cd57b0ae3ad3842.tar.bz2
scala-async-b089630c223d510899ecf74f0cd57b0ae3ad3842.zip
Preserve ValDef symbol.
Diffstat (limited to 'src/test/scala/scala/async/neg')
-rw-r--r--src/test/scala/scala/async/neg/AnfTransformNegSpec.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/scala/scala/async/neg/AnfTransformNegSpec.scala b/src/test/scala/scala/async/neg/AnfTransformNegSpec.scala
index 38790dd..0678429 100644
--- a/src/test/scala/scala/async/neg/AnfTransformNegSpec.scala
+++ b/src/test/scala/scala/async/neg/AnfTransformNegSpec.scala
@@ -6,12 +6,13 @@ package neg
import org.junit.runner.RunWith
import org.junit.runners.JUnit4
-import org.junit.Test
+import org.junit.{Ignore, Test}
@RunWith(classOf[JUnit4])
class AnfTransformNegSpec {
@Test
+ @Ignore
def `inlining block produces duplicate definition`() {
expectError("x is already defined as value x", "-deprecation -Xfatal-warnings") {
"""
@@ -35,6 +36,7 @@ class AnfTransformNegSpec {
}
@Test
+ @Ignore
def `inlining block in tail position produces duplicate definition`() {
expectError("x is already defined as value x", "-deprecation -Xfatal-warnings") {
"""