Skip to content
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

Dialog.ContinueDialogAsync returns by default cancellation token as a result #1404

Merged

Conversation

mitkodi
Copy link
Contributor

@mitkodi mitkodi commented Feb 27, 2019

No description provided.

@cleemullins cleemullins added the bug Indicates an unexpected problem or an unintended behavior. label Feb 28, 2019
Copy link
Contributor

@cleemullins cleemullins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sure seems like a bug to me.
@johnataylor I'm approving this, but would like you to take a quick look.

The Signature of EndDialogAyns is:
public async Task<DialogTurnResult> EndDialogAsync(object result = null, CancellationToken cancellationToken = default(CancellationToken))

From that, you can see the wrong value is clearly being passed in, as the "object" parameter is happily taking it.

@johnataylor
Copy link
Member

yes such are the perils of using object

@cleemullins cleemullins merged commit 09e75bf into microsoft:master Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or an unintended behavior.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants