mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +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,8 +4219,11 @@ void BfCompiler::ProcessAutocompleteTempType()
|
|||
methodInstances.Clear();
|
||||
|
||||
module->CleanupFileInstances();
|
||||
module->ClearConstData();
|
||||
|
||||
prevTypeInstance.Restore();
|
||||
if (module->mCurTypeInstance == NULL)
|
||||
module->ClearConstData();
|
||||
|
||||
BfLogSysM("ProcessAutocompleteTempType end\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue