diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2017-02-24 12:39:01 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2017-02-24 12:39:01 +0100 |
commit | a962349500918a5e26ae9b5567218986838a1ffb (patch) | |
tree | 0a2e6d7c818b4c49b548d20c61aa2807e21a4780 /core/testdata | |
parent | 77a3012145d04ff959de86fb5ec3845cde4b8167 (diff) | |
download | dokka-a962349500918a5e26ae9b5567218986838a1ffb.tar.gz dokka-a962349500918a5e26ae9b5567218986838a1ffb.tar.bz2 dokka-a962349500918a5e26ae9b5567218986838a1ffb.zip |
Support 'dynamic' type
Diffstat (limited to 'core/testdata')
-rw-r--r-- | core/testdata/format/dynamicExtension.kt | 3 | ||||
-rw-r--r-- | core/testdata/format/dynamicExtension.md | 10 | ||||
-rw-r--r-- | core/testdata/format/dynamicType.kt | 2 | ||||
-rw-r--r-- | core/testdata/format/dynamicType.md | 5 |
4 files changed, 20 insertions, 0 deletions
diff --git a/core/testdata/format/dynamicExtension.kt b/core/testdata/format/dynamicExtension.kt new file mode 100644 index 00000000..5c83bf22 --- /dev/null +++ b/core/testdata/format/dynamicExtension.kt @@ -0,0 +1,3 @@ +class Foo + +fun dynamic.bar() {} diff --git a/core/testdata/format/dynamicExtension.md b/core/testdata/format/dynamicExtension.md new file mode 100644 index 00000000..2fd928f6 --- /dev/null +++ b/core/testdata/format/dynamicExtension.md @@ -0,0 +1,10 @@ +[test](test/index) / [Foo](test/-foo/index) + +# Foo + +`class Foo` + +### Constructors + +| [<init>](test/-foo/-init-) | `Foo()` | + diff --git a/core/testdata/format/dynamicType.kt b/core/testdata/format/dynamicType.kt new file mode 100644 index 00000000..9d557ac0 --- /dev/null +++ b/core/testdata/format/dynamicType.kt @@ -0,0 +1,2 @@ +fun foo(): dynamic = "" + diff --git a/core/testdata/format/dynamicType.md b/core/testdata/format/dynamicType.md new file mode 100644 index 00000000..a3d6696b --- /dev/null +++ b/core/testdata/format/dynamicType.md @@ -0,0 +1,5 @@ +[test](test/index) / [foo](test/foo) + +# foo + +`fun foo(): dynamic`
\ No newline at end of file |