Repository navigation
EDG treats reference return from await_resume() as an rvalue instead of an lvalue. #350
zaides-blackduck
started this conversation in
Issue Triage - Compilation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Issue Summary
when await_resume() returns a reference to a value EDG treats it as an rvalue instead of an lvalue. This generates an error when the returned value is assigned.
The error in the example:
Reproducing Source Code
Command-line Options
cafe --c++23 test.cpp
Type of Issue
[Front End] This code SHOULD compile with these options.
Additional Details
Runs well with Clang 20 and gcc 15
Reproducing (Standard) Configuration(s)
No response
Reproducing (Non-standard) Configuration
No response
I acknowledge that:
LICENSE.txtfile in my.zipor.tar.gzupload. If I included aLICENSE.txtfile, any tests created using the reproducing source code will be governed by the terms of the license I provided instead.All reactions