jeff
04/20/2016, 5:11 PMinline fun
gives a 'nothing to inline' warning for a function that is just a call to assert
. Wouldn't it make sense to inline an assert call? My function: inline fun assertIsEventThread() {
assert(SwingUtilities.isEventDispatchThread()) { "should be on event thread" }
}