Use stubs in checkParameterInFunctionType

This commit is contained in:
Yan Zhulanow
2015-10-14 22:04:41 +03:00
parent d52f245cf7
commit bff6639e2d
@@ -269,7 +269,7 @@ public class TypeResolver(
c.trace.report(Errors.UNSUPPORTED.on(param.defaultValue!!, "default value of parameter in function type"))
}
if (param.nameIdentifier != null) {
if (param.name != null) {
for (annotationEntry in param.annotationEntries) {
c.trace.report(Errors.UNSUPPORTED.on(annotationEntry, "annotation on parameter in function type"))
}