https://kotlinlang.org logo
Title
s

sitepodmatt

03/11/2019, 2:42 AM
inline fun bar(fn: () -> Unit ) { 
fn()
}

class InlineSuspendExperiments : StringSpec({

    "test experimenting" {
        runBlocking {
            bar {
                delay(100)
            }
        }
    }
})
l

LeoColman

03/11/2019, 2:47 AM
This is actually exactly my scenario, as I'm trying to fix something at #kotlintest
The build timed out because of compilation tie
Appveyor built it, but in almost 4x the time
So that won't work
Perhaps shortening the amount inlined may help a lot