diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2016-03-31 21:04:27 +0200 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2016-03-31 21:04:27 +0200 |
commit | 792ae5c4099c7a37815888cd1313404375453eea (patch) | |
tree | e548045fd0095415f3d530149ca0385bd9831aa0 /core/testdata/format/codeBlock.kt | |
parent | 07a6e686db79bf7279381bccad79a0d4842f95c2 (diff) | |
download | dokka-792ae5c4099c7a37815888cd1313404375453eea.tar.gz dokka-792ae5c4099c7a37815888cd1313404375453eea.tar.bz2 dokka-792ae5c4099c7a37815888cd1313404375453eea.zip |
Don't lose line breaks in code blocks. Resolves #54
Diffstat (limited to 'core/testdata/format/codeBlock.kt')
-rw-r--r-- | core/testdata/format/codeBlock.kt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/core/testdata/format/codeBlock.kt b/core/testdata/format/codeBlock.kt new file mode 100644 index 00000000..e3fa27d2 --- /dev/null +++ b/core/testdata/format/codeBlock.kt @@ -0,0 +1,13 @@ +import kotlin.reflect.KClass + +/** + * This annotation indicates what exceptions should be declared by a function when compiled to a JVM method. + * + * Example: + * + * ``` + * Throws(IOException::class) + * fun readFile(name: String): String {...} + * ``` + */ +class Throws |