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

For review: fix issue 53 by fiddling with assignability check #2

Closed
wants to merge 451 commits into from
Closed

For review: fix issue 53 by fiddling with assignability check #2

wants to merge 451 commits into from

Conversation

arlm
Copy link
Owner

@arlm arlm commented Jun 4, 2019

This fixes kevin-montrose#53. The IsAssignableFrom method wasn't accounting for the fact that you can assign a (boxed) struct to an interface.

I'm not very familiar with the codebase, so I don't know if this is the most effective way of fixing the bug, although the tests do all pass. Have a look at my code, feedback very welcome 😉

…direct (inferencing needs a lot of work there).
mgravell and others added 22 commits November 19, 2015 12:31
… separate build for netstandard 1.4 (only code difference is compiled regex); make dependencies less specific (was required previously to yank pre-release bits)
…of(object).IsAssignableFrom(typeof(void)) == true
…an assign a (boxed) struct to an interface. This fixes kevin-montrose#53
@arlm arlm force-pushed the master branch 2 times, most recently from e57a954 to 51b5efb Compare July 5, 2019 14:59
arlm added a commit that referenced this pull request Jul 10, 2019
arlm added a commit that referenced this pull request Jul 10, 2019
Closes PR #2

Co-authored-by: chaplin89 <chaplin89@gmail.com>
@arlm arlm closed this Jul 10, 2019
@arlm
Copy link
Owner Author

arlm commented Jul 10, 2019

Is implemented on PR #8

arlm added a commit that referenced this pull request Jul 10, 2019
Closes PR #2

Co-authored-by: chaplin89 <chaplin89@gmail.com>
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.

Sigil incorrectly fails when calling a virtual method on a struct
9 participants