summaryrefslogtreecommitdiff
path: root/test/scaladoc/resources/SI_5287.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/scaladoc/resources/SI_5287.scala')
-rw-r--r--test/scaladoc/resources/SI_5287.scala17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/scaladoc/resources/SI_5287.scala b/test/scaladoc/resources/SI_5287.scala
new file mode 100644
index 0000000000..141ab15325
--- /dev/null
+++ b/test/scaladoc/resources/SI_5287.scala
@@ -0,0 +1,17 @@
+trait SI_5287_A {
+ def method(implicit a: Int): Int = a
+}
+
+trait SI_5287_B extends SI_5287_A {
+ override def method(implicit a: Int): Int = a + 1
+}
+
+trait SI_5287 extends SI_5287_B{
+ /**
+ * Some explanation
+ *
+ * @usecase def method(): Int
+ * The usecase explanation
+ */
+ override def method(implicit a: Int): Int = a + 3
+} \ No newline at end of file