1
1
Fork 0

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
This commit is contained in:
sofiiako 2021-07-21 13:23:21 +03:00
parent 184b550de0
commit 1af151b9ee
1 changed files with 6 additions and 4 deletions

View File

@ -10,10 +10,12 @@ files:
length: 202
placeholder_text: |-
/*
val cg: Crate<Grape> = Crate(Grape())
val oc: OutCrate<Can> = cg
val cc: Crate<Can> = Crate(Can())
val ic: InCrate<Grape> = cc
val catBox: Box<Cat> = Box(Cat())
val outBoxAny: OutBox<Any> = catBox
val a: Any = outBoxAny.get()
val inBoxAny: InBox<Any> = Box(217)
val inBoxCat: InBox<Any> = inBoxAny
inBoxCat.put(Cat())
*/
- name: test/Tests.kt
visible: false