Assert message addded

This commit is contained in:
Andrey Breslav
2012-09-18 12:16:06 +04:00
parent 27a88d6f1d
commit 83bc835343
@@ -534,7 +534,7 @@ public class JetTypeMapper extends BindingTraceAware {
else {
signatureVisitor.writeReturnType();
JetType returnType = f.getReturnType();
assert returnType != null;
assert returnType != null : "Function " + f + " has no return type";
mapReturnType(returnType, signatureVisitor);
signatureVisitor.writeReturnTypeEnd();
}