-
Notifications
You must be signed in to change notification settings - Fork 465
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
const
error with AsyncProgressWorker<T>::ExecutionProgress::Signal()
#1081
Comments
@JosephusPaye thanks for reporting. I looked at our test suite as I wondered why we would not have caught it earlier. It seems we don't cover this case. Any chance you would be interested in submitting a PR with a fix and a test case? @gabrielschulhof my first thought is we should remove the const from Signal. That might be considered a breaking change but if code calling Signal would not have compiled before due to the call to the non-const NonBlockingCall then I don't think we need to treat it like one. |
Yes, I can do so. I'll have a look soon. |
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made. |
There's a pending PR to fix this issue: #1086 |
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made. |
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made. |
Not resolved yet. |
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made. |
Not resolved yet (as far as I can tell). |
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made. |
Was this confirmed as fixed as of #1216? |
I think so but @KevinEady can you confirm? |
Yep. Closing issue. |
Thank you both! |
Hi 👋
I'm getting the following error trying to call
.Signal()
onAsyncProgressWorker::ExecutionProgress
:View error
From reading the code, this is what I've been able to piece together this sequence of calls:
It appears the jump from 2 to 3 discards const on
this
, causing the error.The specific line where I call
.Signal()
in my code is available here along with the rest of the code for context.The text was updated successfully, but these errors were encountered: