diff options
Diffstat (limited to 'compiler/testData/diagnostics/tests/platformTypes/kt50877.fir.kt')
-rw-r--r-- | compiler/testData/diagnostics/tests/platformTypes/kt50877.fir.kt | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/compiler/testData/diagnostics/tests/platformTypes/kt50877.fir.kt b/compiler/testData/diagnostics/tests/platformTypes/kt50877.fir.kt deleted file mode 100644 index 99d5b007510..00000000000 --- a/compiler/testData/diagnostics/tests/platformTypes/kt50877.fir.kt +++ /dev/null @@ -1,31 +0,0 @@ -// FULL_JDK -// WITH_STDLIB - -// FILE: Schematic.kt -class Schematic { - var name: String? = null - - var error: String? = null - - override fun toString(): String { - return name!! - } -} - -// FILE: SortedListModel.java -import java.util.Comparator; - -public class SortedListModel<T> { - public SortedListModel(Comparator<? super T> comparator) { - } -} - - -// FILE: main.kt -val model = SortedListModel<Schematic>(Comparator.comparing { b1: Schematic -> - when { - b1.error != null -> 2 - b1.name!!.contains(":") -> 1 - else -> 0 - } -}.thenComparing { b1: Schematic -> b1.name!! })
\ No newline at end of file |