But! for this code, no default exception throwing ...
# build-tools
i
But! for this code, no default exception throwing branch is generated:
Copy code
fun whenStatement(access: java.nio.file.AccessMode): Unit = when(access) {
            AccessMode.READ -> {}
            AccessMode.WRITE -> {}
            AccessMode.EXECUTE -> {}
    }