summaryrefslogtreecommitdiff
path: root/test/scaladoc/run/usecase-var-expansion.check
diff options
context:
space:
mode:
authorVlad Ureche <vlad.ureche@gmail.com>2012-05-03 02:54:27 +0200
committerPaul Phillips <paulp@improving.org>2012-05-02 18:06:41 -0700
commitb6e989fbf63c9f47acfb54175241b42fdfbfe51b (patch)
treef1af4d441be6c1e903b09eca307b6609bf572ff2 /test/scaladoc/run/usecase-var-expansion.check
parent00b22ed4a307b3c49a09a03508a28a933aeb1a9f (diff)
downloadscala-b6e989fbf63c9f47acfb54175241b42fdfbfe51b.tar.gz
scala-b6e989fbf63c9f47acfb54175241b42fdfbfe51b.tar.bz2
scala-b6e989fbf63c9f47acfb54175241b42fdfbfe51b.zip
Fixes the backticks in use case signature crash
Suggested by Simon in https://groups.google.com/forum/?hl=en&fromgroups#!topic/scala-internals/z7s1CCRCz74 Now it eliminates backticks and gracefully bails out with an error message when it can't remove the wiki syntax.
Diffstat (limited to 'test/scaladoc/run/usecase-var-expansion.check')
-rw-r--r--test/scaladoc/run/usecase-var-expansion.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/scaladoc/run/usecase-var-expansion.check b/test/scaladoc/run/usecase-var-expansion.check
new file mode 100644
index 0000000000..3faa4735c0
--- /dev/null
+++ b/test/scaladoc/run/usecase-var-expansion.check
@@ -0,0 +1,4 @@
+newSource:8: error: Incorrect variable expansion for $Coll in use case. Does the variable expand to wiki syntax when documenting class Test2?
+ * @usecase def foo: $Coll[T]
+ ^
+Done.