From 1af151b9ee4bafe22893873e3ce30d1cb932ced3 Mon Sep 17 00:00:00 2001 From: sofiiako <19rubisco93@gmail.com> Date: Wed, 21 Jul 2021 13:23:21 +0300 Subject: [PATCH] fix(Answer placeholder in Creating Generics #3): Corrected placeholder code The commented code in the placeholder did not match the expected code. Closes https://youtrack.jetbrains.com/issue/EDC-456 --- .../Creating Generics/Exercise 3/task-info.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Power Tools/Creating Generics/Exercise 3/task-info.yaml b/Power Tools/Creating Generics/Exercise 3/task-info.yaml index 919caca5..9b2e1ab2 100644 --- a/Power Tools/Creating Generics/Exercise 3/task-info.yaml +++ b/Power Tools/Creating Generics/Exercise 3/task-info.yaml @@ -10,10 +10,12 @@ files: length: 202 placeholder_text: |- /* - val cg: Crate = Crate(Grape()) - val oc: OutCrate = cg - val cc: Crate = Crate(Can()) - val ic: InCrate = cc + val catBox: Box = Box(Cat()) + val outBoxAny: OutBox = catBox + val a: Any = outBoxAny.get() + val inBoxAny: InBox = Box(217) + val inBoxCat: InBox = inBoxAny + inBoxCat.put(Cat()) */ - name: test/Tests.kt visible: false