Defer checking for mismatches between the deletedness of and overriding
function and an overridden function until we know whether the overriding function is deleted. We previously did these checks when we first built the declaration, which was too soon in some cases. We now defer all these checks to the end of the class. Also add missing check that a consteval function cannot override a non-consteval function and vice versa.
Loading
Please register or sign in to comment