diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2016-01-05 18:58:24 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2016-01-05 18:58:24 +0100 |
commit | b3ce9a8eed32523c3ef2ee1ce186434bd14a6e64 (patch) | |
tree | 3981b083a92695b4c841808ce4c31e2aa491661a /core/testdata/format/inheritedCompanionObjectProperties.kt | |
parent | c59a3d8455ad45d679c47a387f854bdd81a01952 (diff) | |
download | dokka-b3ce9a8eed32523c3ef2ee1ce186434bd14a6e64.tar.gz dokka-b3ce9a8eed32523c3ef2ee1ce186434bd14a6e64.tar.bz2 dokka-b3ce9a8eed32523c3ef2ee1ce186434bd14a6e64.zip |
distinguish inherited companion object members
Diffstat (limited to 'core/testdata/format/inheritedCompanionObjectProperties.kt')
-rw-r--r-- | core/testdata/format/inheritedCompanionObjectProperties.kt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/core/testdata/format/inheritedCompanionObjectProperties.kt b/core/testdata/format/inheritedCompanionObjectProperties.kt new file mode 100644 index 00000000..74a3749c --- /dev/null +++ b/core/testdata/format/inheritedCompanionObjectProperties.kt @@ -0,0 +1,18 @@ +open class A { + fun foo() { + } +} + +open class B { + fun bar() { + } +} + +class C : A { + fun xyzzy() { + } + + companion object : B () { + fun shazam() + } +} |