Issue 90896
Summary [Clang] Assertion "The current call operator must be synchronized with Sema's CurContext" hit when using nested lambdas in a template
Labels clang
Assignees
Reporter elizabethandrews
    The following code hits an assert - "The current call operator must be synchronized with Sema's CurContext".

https://godbolt.org/z/PczYKbMeo

```
template <int a> class n {};
template <int Args>
void testRange() {
 constexpr int c = 1;
  []() {
         [](n<c> id) { };
 };
}
```

This might be a duplicate of https://github.com/llvm/llvm-project/issues/47400
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to