diff options
author | Vlad Ureche <vlad.ureche@gmail.com> | 2012-05-03 02:54:27 +0200 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-05-02 18:06:41 -0700 |
commit | b6e989fbf63c9f47acfb54175241b42fdfbfe51b (patch) | |
tree | f1af4d441be6c1e903b09eca307b6609bf572ff2 /test/scaladoc/run/usecase-var-expansion.check | |
parent | 00b22ed4a307b3c49a09a03508a28a933aeb1a9f (diff) | |
download | scala-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.check | 4 |
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. |