HtmlTabledDescriptorRendererTest renamed to DiagnosticMessageTest

This commit is contained in:
Svetlana Isakova
2012-12-25 19:11:25 +04:00
parent 93fd2bf10f
commit b0302246a0
11 changed files with 4 additions and 4 deletions
@@ -0,0 +1,14 @@
// see org.jetbrains.jet.plugin.highlighter.DiagnosticMessageTest
import java.io.Closeable
class MyList<T>(t: T) {}
fun <T> getMyList(t: T): MyList<T> = MyList(t)
fun <T, E: Cloneable> writeToMyList (l: MyList< in T>, t: T) where E: Closeable {}
class Cons<T, E: Cloneable>(l: MyList<in T>, t: T)
fun test1(int: Int, any: Any) {
writeToMyList(getMyList(int), any)
Cons(getMyList(int), any)
}