Don't ignore return code of AssemblyResolver.Init()

This commit is contained in:
jfrijters 2010-05-11 07:53:37 +00:00
Родитель e358b6835e
Коммит 0557143861
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -95,7 +95,7 @@ class IkvmcCompiler
if (rc == 0)
{
loader.HigherVersion += new AssemblyResolver.HigherVersionEvent(loader_HigherVersion);
loader.Init(StaticCompiler.Universe, nostdlib, toplevel.unresolvedReferences, libpaths);
rc = loader.Init(StaticCompiler.Universe, nostdlib, toplevel.unresolvedReferences, libpaths);
}
if (rc == 0)
{