public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/80016] error is positioned incorrectly
[not found] <bug-80016-4@http.gcc.gnu.org/bugzilla/>
@ 2021-01-02 21:50 ` vanyacpp at gmail dot com
0 siblings, 0 replies; only message in thread
From: vanyacpp at gmail dot com @ 2021-01-02 21:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80016
Ivan Sorokin <vanyacpp at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #6 from Ivan Sorokin <vanyacpp at gmail dot com> ---
(In reply to Jonathan Wakely from comment #5)
> I'd even argue the stating location still isn't right in this version, as
> the error comes from ns::trait<T>::value not the logical expression
> containing it.
On GCC 10.2 the error location is very nice:
<source>:13:46: error: incomplete type 'ns::trait<int>' used in nested name
specifier
13 | && ns::trait<T>::value;
| ^~~~~
https://godbolt.org/z/E7P7P8
I believe the bug can be considered fixed now. Thank you!
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-02 21:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-80016-4@http.gcc.gnu.org/bugzilla/>
2021-01-02 21:50 ` [Bug c++/80016] error is positioned incorrectly vanyacpp at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).