Move checkType directives for tests to separate folder

This commit is contained in:
victor.petukhov
2018-12-28 13:17:40 +03:00
parent 440cccae73
commit 8a9c7a69f3
2 changed files with 11 additions and 6 deletions
@@ -0,0 +1,7 @@
package tests._checkType
fun <T> checkSubtype(t: T) = t
class Inv<T>
fun <E> Inv<E>._() {}
infix fun <T> T.checkType(f: Inv<T>.() -> Unit) {}