diff options
Diffstat (limited to 'test/data/format')
-rw-r--r-- | test/data/format/defaultObjectExtension.kt | 10 | ||||
-rw-r--r-- | test/data/format/defaultObjectExtension.md | 23 |
2 files changed, 33 insertions, 0 deletions
diff --git a/test/data/format/defaultObjectExtension.kt b/test/data/format/defaultObjectExtension.kt new file mode 100644 index 00000000..e367aa41 --- /dev/null +++ b/test/data/format/defaultObjectExtension.kt @@ -0,0 +1,10 @@ +class Foo { + class object Default { + } +} + + +/** + * The default object property. + */ +val Foo.Default.x: Int get() = 1 diff --git a/test/data/format/defaultObjectExtension.md b/test/data/format/defaultObjectExtension.md new file mode 100644 index 00000000..4ede33e8 --- /dev/null +++ b/test/data/format/defaultObjectExtension.md @@ -0,0 +1,23 @@ +[test](test/index) / [Foo](test/-foo/index) + + +# Foo + +`class Foo` + + + +### Constructors + + +| [<init>](test/-foo/-init-) | `Foo()` | + + +### Default Object Extension Properties + + +| [x](test/x) | `val Foo.Default.x: Int` +The default object property. + + | + |