1
1
Fork 0

Merge pull request #36 from sofiiako/sofia/Power-Tools-Creating-Generics-Exercise3-EDC-456

fix(Answer placeholder in Creating Generics #3): Corrected placeholde…
This commit is contained in:
Svetlana Isakova 2021-07-21 20:27:01 +02:00 committed by GitHub
commit 61c18eabf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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