From f36d9b0e4f336de7e35dcfa33934ab287b76d964 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Wed, 14 Jan 2015 19:38:58 +0100 Subject: show default values of parameters in generated documentation --- test/data/format/functionWithDefaultParameter.kt | 1 + test/data/format/functionWithDefaultParameter.md | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 test/data/format/functionWithDefaultParameter.kt create mode 100644 test/data/format/functionWithDefaultParameter.md (limited to 'test/data/format') diff --git a/test/data/format/functionWithDefaultParameter.kt b/test/data/format/functionWithDefaultParameter.kt new file mode 100644 index 00000000..3a3a102f --- /dev/null +++ b/test/data/format/functionWithDefaultParameter.kt @@ -0,0 +1 @@ +fun f(x: String = "") {} diff --git a/test/data/format/functionWithDefaultParameter.md b/test/data/format/functionWithDefaultParameter.md new file mode 100644 index 00000000..1acab0ef --- /dev/null +++ b/test/data/format/functionWithDefaultParameter.md @@ -0,0 +1,12 @@ +[test](out.md) / [](out.md) / [f](out.md) + + +# f + + +``` +fun f(x: String = ""): Unit +``` + + + -- cgit