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

# KT-10772 Fixed
This commit is contained in:
Stanislav Erokhin
2016-01-24 12:03:27 +03:00
parent a78b08d9c7
commit aca19ed27a
3 changed files with 26 additions and 8 deletions
@@ -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
}
}