aboutsummaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-03-02 16:17:28 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-03-02 16:17:28 +0100
commitf462317925b3706a4184ba468a353e573a4877c5 (patch)
treeb89315a94973960df8caf313bb7a20a8193c86e6 /test/data
parent31692499975f071dce028c8912d3a80ea6019aca (diff)
downloaddokka-f462317925b3706a4184ba468a353e573a4877c5.tar.gz
dokka-f462317925b3706a4184ba468a353e573a4877c5.tar.bz2
dokka-f462317925b3706a4184ba468a353e573a4877c5.zip
for functions that can be called as operators, show operator being implemented
Diffstat (limited to 'test/data')
-rw-r--r--test/data/format/operatorOverloading.kt3
-rw-r--r--test/data/format/operatorOverloading.md8
2 files changed, 11 insertions, 0 deletions
diff --git a/test/data/format/operatorOverloading.kt b/test/data/format/operatorOverloading.kt
new file mode 100644
index 00000000..6fe78e45
--- /dev/null
+++ b/test/data/format/operatorOverloading.kt
@@ -0,0 +1,3 @@
+class C {
+ fun plus(other: C): C
+}
diff --git a/test/data/format/operatorOverloading.md b/test/data/format/operatorOverloading.md
new file mode 100644
index 00000000..fd0fa977
--- /dev/null
+++ b/test/data/format/operatorOverloading.md
@@ -0,0 +1,8 @@
+[test](test/index) / [C](test/-c/index) / [plus](test/-c/plus)
+
+
+# plus
+
+`fun plus(other:&nbsp;[C](test/-c/index)): [C](test/-c/index)`
+Implements **operator `+`**
+