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

fix null ref exception on CLRv2 in DLR.fs #90

Merged
merged 2 commits into from Jan 4, 2012
Merged

Conversation

rbishop-xx
Copy link
Contributor

First attempt at a git pull request, hope this works.

@otac0n
Copy link
Collaborator

otac0n commented Jan 4, 2012

Was this in response to a bug?

If so, what was the repro case? I'd like to take a look and make sure that this fixes it.

@rbishop-xx
Copy link
Contributor Author

Sorry I did not create a bug for this, I just noticed it when I attempted to run the REPL utility and it seems that the DebugView property is not present in CLRv2, it first appeared in v4 so it made sense.

I believe that code is attempting to pull the debug view info for the expression tree and print it; my change just uses a blank value if reflection doesn't find the DebugView property.

otac0n added a commit that referenced this pull request Jan 4, 2012
fix null ref exception on CLRv2 in DLR.fs
@otac0n otac0n merged commit 142f8a0 into fholm:master Jan 4, 2012
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.

None yet

2 participants