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

merged 2 commits into from Jan 4, 2012


None yet

2 participants


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

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.


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 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