mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +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)
|
||||
return;
|
||||
|
||||
if (typeInstance->IsInterface())
|
||||
return;
|
||||
|
||||
for (auto& ifaceTypeInst : typeInstance->mInterfaces)
|
||||
{
|
||||
Array<BfMethodInstance*> missingMethods;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue