summaryrefslogtreecommitdiff
path: root/test/pending/presentation/context-bounds1/Test.scala
diff options
context:
space:
mode:
authorMirco Dotta <mirco.dotta@typesafe.com>2014-01-10 10:28:08 +0100
committerMirco Dotta <mirco.dotta@typesafe.com>2014-01-10 10:31:55 +0100
commit3b68163e4743c3635b7f47d22d2bdab23a5bf650 (patch)
tree2af4b7c02540cbf1beee9a04c01f0eaffe017bad /test/pending/presentation/context-bounds1/Test.scala
parent513b9e0a715b4cd515da63cf1a20b195d7a3fee0 (diff)
downloadscala-3b68163e4743c3635b7f47d22d2bdab23a5bf650.tar.gz
scala-3b68163e4743c3635b7f47d22d2bdab23a5bf650.tar.bz2
scala-3b68163e4743c3635b7f47d22d2bdab23a5bf650.zip
SI-8135 Disabled flaky hyperlinking presentation compiler test
This PR (https://github.com/scala/scala/pull/3275#issuecomment-31986434) demonstrates that the test is flaky. The disabled test was introduced with the intent of preventing a regression (here is the commit https://github.com/scala/scala/commit/ccacb06c4928fd6aebc2c2539d7565cb079dc625). It looks like there is a race condition when `askTypeAt(pos)` is called on `implicitly[Foo[A]].foo` where `pos` is matches the end point of the former expression. The issue is that the returned Tree is unattributed, which is why the error "No symbol is associated with tree implicitly[Foo[A]].foo" is reported.
Diffstat (limited to 'test/pending/presentation/context-bounds1/Test.scala')
-rw-r--r--test/pending/presentation/context-bounds1/Test.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/pending/presentation/context-bounds1/Test.scala b/test/pending/presentation/context-bounds1/Test.scala
new file mode 100644
index 0000000000..bec1131c4c
--- /dev/null
+++ b/test/pending/presentation/context-bounds1/Test.scala
@@ -0,0 +1,3 @@
+import scala.tools.nsc.interactive.tests.InteractiveTest
+
+object Test extends InteractiveTest \ No newline at end of file