You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
main.cpp2:5:74: error: too many arguments provided to function-like macro invocation
5 | [[nodiscard]] auto main() -> int { return CPP2_UFCS_0(abs, Position()[0, 0]); }
| ^
Title: UFCS macro broken given object
v<a, b>
.Minimal reproducer (https://cpp2.godbolt.org/z/14rxj4Gv3):
Commands:
cppfront -clean-cpp1 main.cpp2 clang++17 -std=c++23 -stdlib=libc++ -lc++abi -pedantic-errors -Wall -Wextra -Wconversion -I . main.cpp
Expected result:
Actual result and error:
Cpp2 lowered to Cpp1.
Output.
The text was updated successfully, but these errors were encountered: