mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 08:31:30 +00:00
Add FIR enhancement tests, fix some exceptions / problems around them
Test data and tests themselves are based on compiler/testData/loadJava/compiledJava
This commit is contained in:
6
compiler/testData/loadJava/compiledJava/library/LoadIterable.fir.txt
vendored
Normal file
6
compiler/testData/loadJava/compiledJava/library/LoadIterable.fir.txt
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<T> public abstract interface LoadIterable : R|java/lang/Object| {
|
||||
public abstract operator function getIterable(): R|ft<java/lang/Iterable<ft<T, T?>>, java/lang/Iterable<ft<T, T?>>>|
|
||||
|
||||
public abstract operator function setIterable(Iterable: R|ft<java/lang/Iterable<ft<T, T?>>, java/lang/Iterable<ft<T, T?>>>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
6
compiler/testData/loadJava/compiledJava/library/LoadIterator.fir.txt
vendored
Normal file
6
compiler/testData/loadJava/compiledJava/library/LoadIterator.fir.txt
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<T> public abstract interface LoadIterator : R|java/lang/Object| {
|
||||
public abstract operator function getIterator(): R|ft<java/util/Iterator<ft<T, T?>>, java/util/Iterator<ft<T, T?>>>|
|
||||
|
||||
public abstract operator function setIterator(iterator: R|ft<java/util/Iterator<ft<T, T?>>, java/util/Iterator<ft<T, T?>>>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
4
compiler/testData/loadJava/compiledJava/library/Max.fir.txt
vendored
Normal file
4
compiler/testData/loadJava/compiledJava/library/Max.fir.txt
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
public open class Max : R|java/lang/Object| {
|
||||
public open operator function max(coll: R|ft<java/util/Collection<class error: Unexpected type argument: JavaWildcardTypeImpl: PsiType:? extends T>, java/util/Collection<class error: Unexpected type argument: JavaWildcardTypeImpl: PsiType:? extends T>?>|!): R|ft<T, T?>|!
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user