KT-10772 Problem with daemon on Idea 15.0.3 & 1-dev-25

# KT-10772 Fixed

Original commit: aca19ed27a
This commit is contained in:
Stanislav Erokhin
2016-01-24 12:03:27 +03:00
parent 2219901fe7
commit 627384fe11
@@ -0,0 +1,15 @@
package foo
// From KT-10772 Problem with daemon on Idea 15.0.3 & 1-dev-25
/*p:foo*/fun <T> identity(): (T) -> T = /*p:kotlin(Nothing) p:kotlin(Function1)*/null as (T) -> T
/*p:foo*/fun <T> compute(f: () -> T) {
val result = f()
}
/*p:foo*/class Bar<T>(val t: T) {
init {
val a = /*c:foo.Bar c:foo.Bar(T)*/t
}
}