properly report exception if analyze failed

#KT-1831 Fixed
This commit is contained in:
Stepan Koltsov
2012-04-19 16:41:34 +04:00
parent aa4e4623d4
commit b47d37094e
10 changed files with 51 additions and 10 deletions
@@ -71,6 +71,8 @@ public class KotlinToJVMBytecodeCompiler {
return null;
}
exhaust.throwIfError();
return generate(environment, dependencies, messageCollector, exhaust, stubs);
}