[BUG] Disable UFCS on deduced return type not yet deduced (f: () x.f();
)
#874
Labels
bug
Something isn't working
f: () x.f();
)
#874
Title: Disable UFCS on deduced return type not yet deduced (
f: () x.f();
).Minimal reproducer (https://cpp2.godbolt.org/z/x8GsWo7cT):
Commands:
cppfront main.cpp2 clang++18 -std=c++23 -stdlib=libc++ -lc++abi -pedantic-errors -Wall -Wextra -Wconversion -Werror=unused-result -Werror=unused-value -Werror=unused-parameter -I . main.cpp
Expected result: For
arity::end
to be well-formed by not naming itself in its body.Actual result and error:
Cpp2 lowered to Cpp1:
See also:
The text was updated successfully, but these errors were encountered: