diagnostics for deprecated syntax of function type parameter list
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//KT-2195 error "Only safe calls are allowed ..." but it is function param (val)
|
||||
package foo
|
||||
|
||||
private fun sendCommand<T>(errorCallback: (()->Unit)? = null) {
|
||||
private fun <T> sendCommand(errorCallback: (()->Unit)? = null) {
|
||||
if (errorCallback != null) {
|
||||
<!DEBUG_INFO_SMARTCAST!>errorCallback<!>()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user