Guard against -sharedclassloader and -target:module being combined.

This commit is contained in:
jfrijters 2009-02-19 08:07:26 +00:00
Родитель 423cf661b2
Коммит a7e9899995
1 изменённых файлов: 5 добавлений и 0 удалений

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

@ -693,6 +693,11 @@ class IkvmcCompiler
ProcessFile(null, f);
}
}
if(options.targetIsModule && options.sharedclassloader != null)
{
Console.Error.WriteLine("Error: -target:module and -sharedclassloader options cannot be combined.");
return 1;
}
}
#if MULTI_TARGET
if(nonleaf)