[BUG] Function initialized with ==
can't have _requires-clause_
#709
Labels
bug
Something isn't working
==
can't have _requires-clause_
#709
Title: Function initialized with
==
can't have requires-clause.Description:
This is similar to commit b1c03f2 and #675.
Although the refactor of the latter would've made the fix trivial.
Now what commit b1c03f2 did for aliases
needs to be done for functions
after the gift of commit b589f5d.
Minimal reproducer (https://cpp2.godbolt.org/z/4exaWaf53):
Commands:
cppfront main.cpp2 clang++18 -std=c++23 -stdlib=libc++ -lc++abi -pedantic-errors -Wall -Wextra -Wconversion -Werror=unused-result -I . main.cpp
Expected result: A well-formed program.
Actual result and error:
The text was updated successfully, but these errors were encountered: