[Test] Add helpers file with functions for inference testing

This commit is contained in:
Dmitriy Novozhilov
2021-02-18 10:20:35 +03:00
parent d0eeb0535d
commit 026efca49f
3 changed files with 21 additions and 3 deletions
@@ -0,0 +1,3 @@
fun <K> id(x: K): K = x
fun <K> materialize(): K = null!!
fun <K> select(vararg values: K): K = values[0]