| Issue |
180046
|
| Summary |
Clang elides the wrong part of the template type in error message.
|
| Labels |
good first issue,
clang
|
| Assignees |
|
| Reporter |
ZequanWu
|
Repro: https://godbolt.org/z/9bYzd3WPG
Error message:`error: no viable conversion from returned value of type 'S3<S2<...>>' to function return type 'S3<S2<...>>'`
Expected: `error: no viable conversion from returned value of type 'S3<const S2<int>>' to function return type 'S3<S2<int>>'`
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs