mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Fixed issue where constData used in resolve is cleared by autocomplete
This commit is contained in:
parent
e1559b5686
commit
308605a7dd
2 changed files with 5 additions and 2 deletions
|
@ -4219,7 +4219,10 @@ void BfCompiler::ProcessAutocompleteTempType()
|
||||||
methodInstances.Clear();
|
methodInstances.Clear();
|
||||||
|
|
||||||
module->CleanupFileInstances();
|
module->CleanupFileInstances();
|
||||||
module->ClearConstData();
|
|
||||||
|
prevTypeInstance.Restore();
|
||||||
|
if (module->mCurTypeInstance == NULL)
|
||||||
|
module->ClearConstData();
|
||||||
|
|
||||||
BfLogSysM("ProcessAutocompleteTempType end\n");
|
BfLogSysM("ProcessAutocompleteTempType end\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue