* call.c (build_over_call): Don't use IS_SIGNATURE on a namespace.

From-SVN: r19814
This commit is contained in:
Jason Merrill 1998-05-17 12:33:29 +00:00 committed by Jason Merrill
parent 3fe4d12a8e
commit 463d7c5d32
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Sun May 17 12:32:08 1998 Jason Merrill <jason@yorick.cygnus.com>
* call.c (build_over_call): Don't use IS_SIGNATURE on a namespace.
Fri May 15 20:28:00 1998 Jason Merrill <jason@yorick.cygnus.com>
* decl.c (start_decl): Revert problem change.

View File

@ -3422,7 +3422,7 @@ build_over_call (cand, args, flags)
mark_used (fn);
if (DECL_CONTEXT (fn) && IS_SIGNATURE (DECL_CONTEXT (fn)))
if (DECL_CLASS_SCOPE_P (fn) && IS_SIGNATURE (DECL_CONTEXT (fn)))
return build_signature_method_call (fn, converted_args);
else if (DECL_VINDEX (fn) && (flags & LOOKUP_NONVIRTUAL) == 0)
{