Skip to content
Commit 9975dc38 authored by Richard Smith's avatar Richard Smith
Browse files

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.
parent 2a2d2420
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment