[llvm-bugs] [Bug 26764] Assertion failed: !SpecializedTemplate.is<SpecializedPartialSpecialization*>() && "Already set to a class template partial specialization!"

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 3 01:44:43 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=26764

Yaron Keren <yaron.keren at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Yaron Keren <yaron.keren at gmail.com> ---
as of 10d78a06baa217b8a4b853eff962e9ae719a8a45 fails with error:

c.cpp:3:52: error: type 'A<2, double>' does not provide a subscript operator
void fn1(A<2, double> &data_vectors) { data_vectors[0]; }
                                       ~~~~~~~~~~~~^~
1 error generated.

and does not assert

-- 
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/20210903/3036acdd/attachment.html>


More information about the llvm-bugs mailing list