Join Slack
Powered by
The current technical limitation is that it can't ...
# announcements
m
mplatvoet
04/24/2016, 5:52 AM
The current technical limitation is that it can't be proven on the call site that block will be executed. A simple example case would be, even for inline methods, if run is defined as:
Copy code
fun run(body: () -> Unit) { if(random.nextInt(2) == 1) body() }
4
Views
Open in Slack
Previous
Next