diff options
author | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2014-03-13 17:55:49 +0100 |
---|---|---|
committer | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2014-03-13 17:55:49 +0100 |
commit | 8d7f73316570a4325111da3b4c0529793ced8b97 (patch) | |
tree | ecfccd327c04d112547749246174fd91999e72f4 /test | |
parent | 9c38e86a5526887f93a3f031b19a0e4fa31745d3 (diff) | |
parent | f46ae47fb93867e8d11c80498b5dd2b6c2274b23 (diff) | |
download | scala-8d7f73316570a4325111da3b4c0529793ced8b97.tar.gz scala-8d7f73316570a4325111da3b4c0529793ced8b97.tar.bz2 scala-8d7f73316570a4325111da3b4c0529793ced8b97.zip |
Merge pull request #3627 from retronym/ticket/8407
SI-8407 "symbol not found" in Scaladoc use cases: warning only
Diffstat (limited to 'test')
-rw-r--r-- | test/scaladoc/run/t8407.check | 4 | ||||
-rw-r--r-- | test/scaladoc/run/t8407.scala | 20 |
2 files changed, 24 insertions, 0 deletions
diff --git a/test/scaladoc/run/t8407.check b/test/scaladoc/run/t8407.check new file mode 100644 index 0000000000..06c860b3eb --- /dev/null +++ b/test/scaladoc/run/t8407.check @@ -0,0 +1,4 @@ +newSource:4: warning: not found: type $NotFound + * @usecase def zipWithIndex: $NotFound + ^ +Done. diff --git a/test/scaladoc/run/t8407.scala b/test/scaladoc/run/t8407.scala new file mode 100644 index 0000000000..2df9f4f1ac --- /dev/null +++ b/test/scaladoc/run/t8407.scala @@ -0,0 +1,20 @@ +import scala.tools.nsc.doc.model._ +import scala.tools.partest.ScaladocModelTest + +object Test extends ScaladocModelTest { + override def code = """ +class C { + /** + * @usecase def zipWithIndex: $NotFound + * + */ + def zipWithIndex: Int = ??? +} + """ + + def scaladocSettings = "" + + def testModel(root: Package) = { + // just testing that it doesn't error out. + } +} |