On 8/25/19 2:35 PM, Jason Merrill wrote:
On Sat, Aug 24, 2019 at 6:43 PM Nathan Sidwell <nat...@acm.org
<mailto:nat...@acm.org>> wrote:
On 8/23/19 3:24 PM, Nathan Sidwell wrote:
> In fixing a vfunc override bug on the modules branch, I noticed that
> check_for_override can simply check IDENTIFIER_VIRTUAL_P -- the dtor
> identifier and those for conversion operators will have it set
> correctly. (there a multiple conversion operator identifiers,
but we
> can only be overriding the one with the same return type, so
that's fine.)
that turns out to be untrue -- the conversion operator table
distinguishes between different typedefs of the same type.
Hmm, that seems like a bug.
It is by design. That way we can propagate the form of the type to the
function decl.
nathan
--
Nathan Sidwell