JetDiagnosticsTest migrated to TestGenerator
- test data files renamed from *.jet to *.kt
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// KT-307 Unresolved reference
|
||||
|
||||
open class AL {
|
||||
fun get(i : Int) : Any? = i
|
||||
}
|
||||
|
||||
trait ALE<T> : AL {
|
||||
fun getOrNull(index: Int, value: T) : T {
|
||||
return get(index) as? T ?: value
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user