Call to consteval function in member initializer cause compilation error #118000
Labels
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
confirmed
Verified by a second party
consteval
C++20 consteval
If consteval function called in method initializer and this class used in both consteval and not consteval functions, compilation fails with
This bug is present in 16.x.x and >=18.0.0. (https://godbolt.org/z/o6EnWvvW7)
Issue was introduced in ca61961
After it was fixed in 4676885
And happens again after baf6bd3
The text was updated successfully, but these errors were encountered: