Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Type conversion changes between 2.1.0dev and 2.1.0 #236

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

Closed
josselex opened this issue Jun 29, 2016 · 3 comments
Closed

Type conversion changes between 2.1.0dev and 2.1.0 #236

josselex opened this issue Jun 29, 2016 · 3 comments
Labels

Comments

@josselex
Copy link

I have a method with the signature
Memory.GetActive(out int s32MemId)
Memory.GetActive(out System.IntPtr ptr)

With 2.1.0dev it was possible to call

_,out=obj.Memory.GetActive(0)

But this now returns

TypeError: No method matches given arguments

and I have to do:

_,out=obj.Memory.GetActive(System.Int32(0))

What changed and why did it change (i did not find something about this change)?
The new code ist much more verbose, is it possible to get the old behaviour back?

@vmuriart
Copy link
Contributor

See related #203 and #217

It was to close a bug, but introduced unexpected behavior

@den-run-ai
Copy link
Contributor

den-run-ai commented Jun 29, 2016

First of all #217 is un-merged pull request for parent-child class overloads, which is different from this problem.

This problem is related to out and ref arguments:

#227

@filmor
Copy link
Member

filmor commented Jun 9, 2020

Since there have not been any updates in quite a while, I'll close this issue. Feel free to reopen and provide a information on the current state.

@filmor filmor closed this as completed Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants