From Objects to Functions: Typo in exercise 3.4 (v0.7) - page 137

@uberto

In exercise 3.4 the renderTemplate function looks as follow:

fun renderTemplate(template: Template, data: Map<String, StringTag>) = TODO()

However, in the test itself, the template is a string that is passed to the function, and in no place there’s a mention of the Template class

Thanks! Noted and fixed for the definite version replaced with a String

1 Like