diff --git a/src/i_introduction/_3_Default_Arguments/n03DefaultArguments.kt b/src/i_introduction/_3_Default_Arguments/n03DefaultArguments.kt index b7adbd670..4f45173a8 100644 --- a/src/i_introduction/_3_Default_Arguments/n03DefaultArguments.kt +++ b/src/i_introduction/_3_Default_Arguments/n03DefaultArguments.kt @@ -1,7 +1,7 @@ package i_introduction._3_Default_Arguments import util.TODO -import util.doc2 +import util.doc3 fun todoTask3(): Nothing = TODO( """ @@ -11,7 +11,7 @@ fun todoTask3(): Nothing = TODO( You have to add 'foo' parameters and implement its body. Uncomment the commented code and make it compile. """, - documentation = doc2(), + documentation = doc3(), references = { name: String -> JavaCode3().foo(name); foo(name) }) fun foo(name: String): String = todoTask3() diff --git a/src/util/LinksToDocumentation.kt b/src/util/LinksToDocumentation.kt index 4794940c1..f69dff21c 100644 --- a/src/util/LinksToDocumentation.kt +++ b/src/util/LinksToDocumentation.kt @@ -6,10 +6,14 @@ package util fun doc0() {} /** - * @see Default and named arguments + * @see Named arguments */ fun doc2() {} +/** + * @see Default arguments + */ +fun doc3() {} /** * @see Lambdas