mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 22:34:09 +02:00
Initial const eval feature release
This commit is contained in:
parent
be929c3626
commit
ff1f8aff3f
27 changed files with 887 additions and 178 deletions
|
@ -1027,6 +1027,18 @@ namespace IDE.ui
|
|||
doBackground = true;
|
||||
}
|
||||
|
||||
// If there's a long-running const eval then cancel that first
|
||||
if (!mDeferredResolveResults.IsEmpty)
|
||||
{
|
||||
for (var result in mDeferredResolveResults)
|
||||
{
|
||||
if (result.mResolveType == .ClassifyFullRefresh)
|
||||
{
|
||||
bfCompiler.RequestCancelBackground();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (mIsClang)
|
||||
{
|
||||
#if !IDE_C_SUPPORT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue