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

Determine call type based on LanguageItems #91

Open
wants to merge 1 commit into
base: pdg
Choose a base branch
from

Conversation

JustusAdam
Copy link
Contributor

This changes the way that std::ops::Fn::call and std::future::Future::poll is detected in pdg construction to use the LangaugeItems struct which I think is the way it's supposed to be done.

In addition it will also now detect FnMut:call_mut and FnOnce::call_once now.

I haven't added test cases for the last two. Are there test cases for Fn::call that I could model off of?

Also handles `FnMut` and `FnOnce` now
@JustusAdam
Copy link
Contributor Author

I don't understand why this CI fails btw. This doesn't seem to have anything to do with my changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant