1
0
Fork 0
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:
Brian Fiete 2021-07-15 07:01:02 -07:00
parent d475d3641f
commit 40cc6b27b7

View file

@ -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;