Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CustomSupplier (0.28 sec)

  1. analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/errorsInFunctionalInterfacesInstances.kt

    @Suppress("UNUSED_VARIABLE")
    fun check() {
        val o = CustomSupplier<String> {
            3
        }
    
        val o2 = object : CustomSupplier<String> {}
    
        val o3 = object : CustomSupplier<String> {
            override fun get(): String = 2
        }
    }
    
    fun interface CustomSupplier<T> {
        fun get(): T
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Dec 21 19:36:44 UTC 2023
    - 294 bytes
    - Viewed (0)
Back to top