[LLVMbugs] [Bug 7409] Extra errors after bad typedef
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jan 20 20:16:15 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=7409
Nick Lewycky <nlewycky at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Nick Lewycky <nlewycky at google.com> 2012-01-20 22:16:15 CST ---
This looks fixed:
pr7409.cc:3:20: error: type 'long' cannot be used prior to '::' because it has
no members
typedef typename T::foo foo;
^
pr7409.cc:7:11: note: in instantiation of template class 'Foo<long>' requested
here
Foo<long> f;
^
1 error generated.
One real error about the misuse of T = long and a note for the instantiation
stack. This is still a little sub-par because I think the error message should
print out that T was long in the message text, but the original topic of this
bug is fixed.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list