mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
SetResultStringType type context fix
This commit is contained in:
parent
39cf43102e
commit
5f0fd070ad
1 changed files with 3 additions and 0 deletions
|
@ -3796,6 +3796,9 @@ void BfAutoComplete::FixitAddConstructor(BfTypeInstance *typeInstance)
|
||||||
|
|
||||||
void BfAutoComplete::SetResultStringType(BfType * type)
|
void BfAutoComplete::SetResultStringType(BfType * type)
|
||||||
{
|
{
|
||||||
|
SetAndRestoreValue<BfTypeInstance*> prevTypeInst(mModule->mCurTypeInstance, type->ToTypeInstance());
|
||||||
|
SetAndRestoreValue<BfMethodInstance*> prevMethodInst(mModule->mCurMethodInstance, NULL);
|
||||||
|
|
||||||
mResultString = ":";
|
mResultString = ":";
|
||||||
mResultString += mModule->TypeToString(type);
|
mResultString += mModule->TypeToString(type);
|
||||||
if (type->IsObject())
|
if (type->IsObject())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue