[llvm-bugs] [Bug 49462] New: type alias that is not fully resolved in the error message
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Mar 6 05:25:45 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=49462
Bug ID: 49462
Summary: type alias that is not fully resolved in the error
message
Product: clang
Version: 11.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++17
Assignee: unassignedclangbugs at nondot.org
Reporter: jonathan.poelen at gmail.com
CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk
with clang -std=c++17 test.cpp and
using l = std::make_index_sequence<9999>;
using f = drop_while<is_not_9992>;
emp_call<l>::f<f> x = 1;
test.cpp:202:19: error: no viable conversion from 'int' to 'emp_call<l>::f<f>'
(aka '_drop_while_result<0UL + sizeof...(xs)>')
emp_call<l>::f<f> x = 1;
^ ~
'_drop_while_result<0UL + sizeof...(xs)>' should be '_drop_while_result<6UL>'.
I couldn't make a code smaller than 200 lines because the error occurs from
9992 and above.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210306/80fa2650/attachment.html>
More information about the llvm-bugs
mailing list