-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] 1 as std::string
errors
#717
Labels
bug
Something isn't working
Comments
What is the expected value of |
Like this: https://cpp2.godbolt.org/z/E7ebY9GYW.
|
It was already fixed in #701 |
Then you may add that to its opening comment so that this is automatically closed when that is merged. |
Now it works in the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Title:
1 as std::string
errors.Minimal reproducer (https://cpp2.godbolt.org/z/qdh9vWzod):
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:
Program returned: 0
Actual result and error:
Cpp2 lowered to Cpp1:
Output:
The text was updated successfully, but these errors were encountered: