Assert in LLVM from new using declaration code

I've been playing around with the recently added using-declaration code, and keep hitting the following assertion in LLVM:

  Assertion failed: isa<X>(Val) && "cast<Ty>() argument of incompatible type!", file ...\llvm\include\llvm/Support/Casting.h, line 199

(got to love the switch from \ to / in Windows paths!)

The test case boils down to:

  namespace A {
    void f(int);
  }

  using A::f;

  void foo() {
    f(13);
  }

Still getting my feet wet on process, is it better to report to list here first in case there is a quick fix, or file a bug report and then advertise here?

AlisdairM

I've been playing around with the recently added using-declaration code, and keep hitting the following assertion in LLVM:
<snip>
Still getting my feet wet on process, is it better to report to list here first in case there is a quick fix, or file a bug report and then advertise here?

I think its best to just file a bug, most core clang developers see
all new bugs and we will try and CC the right people so they see it as
well.

- Daniel