ME <Alt + G> does not work

 

Code to reproduce:

#property strict

class CParrent
  {
public:
   virtual bool method() = 0;
  };

class CChild : public CParrent
  { public: bool method() override; };

bool CChild::method(void)
  {
   return(false);
  }

void OnStart()
  {
  
  }

 


 
Both for the editor of the 4th version of the language, and for the editor of the 5th version
 
Is such a single line entry wrong?
Reason: