diff options
Diffstat (limited to 'test/data/comments')
-rw-r--r-- | test/data/comments/directive.kt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/test/data/comments/directive.kt b/test/data/comments/directive.kt new file mode 100644 index 00000000..9883b7bd --- /dev/null +++ b/test/data/comments/directive.kt @@ -0,0 +1,35 @@ +/** + * Summary + * + * ${code example1} + * ${code example2} + * ${code X.example3} + * ${code X.Y.example4} + */ +val property = "test" + +fun example1(node: String) = if (true) { + println(property) +} + +fun example2(node: String) { + if (true) { + println(property) + } +} + +class X { + fun example3(node: String) { + if (true) { + println(property) + } + } + + class Y { + fun example4(node: String) { + if (true) { + println(property) + } + } + } +} |