Method without body can be declared in non-virtual class #41
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PH7 Engine allows a virtual method to be declared in non-virtual class, example:
Above example will not throw any compilation error, while we all expect it to throw some error like "Non-abstract method Test::a() must contain body".
Will be done in compiler_rework branch.
Method without body can be declared in non-virtual class.to Method without body can be declared in non-virtual class