mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Fixed invalid interface method implementation fixit on interface decls
This commit is contained in:
parent
d475d3641f
commit
40cc6b27b7
1 changed files with 3 additions and 0 deletions
|
@ -2970,6 +2970,9 @@ void BfAutoComplete::CheckInterfaceFixit(BfTypeInstance* typeInstance, BfAstNode
|
||||||
if (typeInstance == NULL)
|
if (typeInstance == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (typeInstance->IsInterface())
|
||||||
|
return;
|
||||||
|
|
||||||
for (auto& ifaceTypeInst : typeInstance->mInterfaces)
|
for (auto& ifaceTypeInst : typeInstance->mInterfaces)
|
||||||
{
|
{
|
||||||
Array<BfMethodInstance*> missingMethods;
|
Array<BfMethodInstance*> missingMethods;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue