diff --git a/src/u_compilers.pas b/src/u_compilers.pas index 850f8f54..e029938c 100644 --- a/src/u_compilers.pas +++ b/src/u_compilers.pas @@ -245,8 +245,8 @@ procedure TCompilersPaths.checkIfGlobalIsGlobal; begin if globalCompiler = DCompiler.global then begin - raise Exception.Create('global compiler should not be set to DCompiler.global'); globalCompiler := low(DCompiler); + raise Exception.Create('global compiler should not be set to DCompiler.global'); end; end;