Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SimpleVarClass (0.28 sec)

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

    import kotlin.reflect.KMutableProperty
    
    class SimpleVarClass(var constructorVariable: Boolean) {
        var memberVariable: Boolean = constructorVariable
    }
    
    fun moreFun(a: KMutableProperty<Boolean>) = a
    
    fun testMutableProp() {
        moreFun(SimpleVarClass::constructorVariable)
        moreFun(SimpleVarClass::memberVariable)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jan 03 13:39:41 UTC 2024
    - 320 bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/inferTypeFromGetValueDelegateLibrary.kt

    // MODULE_KIND: LibraryBinary
    // FILE: Lib.kt
    class SimpleVarClass(var constructorVariable: Boolean) {
        var memberVariable: Boolean = constructorVariable
    }
    
    // MODULE: main(lib)
    // FILE: usage.kt
    import kotlin.reflect.KMutableProperty
    
    fun moreFun(a: KMutableProperty<Boolean>) = a
    
    fun testMutableProp() {
        moreFun(SimpleVarClass::constructorVariable)
        moreFun(SimpleVarClass::memberVariable)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jan 03 13:39:41 UTC 2024
    - 448 bytes
    - Viewed (0)
Back to top