https://llvm.org/bugs/show_bug.cgi?id=25303
Richard Smith <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |WONTFIX --- Comment #1 from Richard Smith <[email protected]> --- (In reply to comment #0) > It would have been nicer to recover by inserting a '}' before 'namespace > Bar'. That would require extreme lookahead or reverting a lot of parser state, both of which are not feasible. Nothing is obviously wrong here until we reach the ill-formed call to ::Bar::thud, and that error is indistinguishable from the nested name specifier on the call being wrong, which is what we say. I don't think this is feasible for us to improve, unless you have some specific suggestion for how we would detect the problem. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list [email protected] http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
