Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for configureInnerWithGeneric (0.27 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/CustomLambdasTest.kt

            )
    
            assertEquals(4, o.inner.x)
        }
    
        @Test
        fun `custom lambda interface with a generic`() {
            val o = applyToOuter(
                """
                configureInnerWithGeneric {
                    x = 123
                    f()
                }
                """.trimIndent()
            )
    
            assertEquals(124, o.inner.x)
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top