Skip to content

Type conversion changes between 2.1.0dev and 2.1.0 #236

Closed
@josselex

Description

@josselex

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions