[CLR] Marshalling typed null values does not work #66

Closed
sorear opened this Issue Oct 11, 2011 · 0 comments

Projects

None yet

1 participant

@sorear
Owner
sorear commented Oct 11, 2011
niecza> CLR::System::Object.marshal(Any)
CLR::System::Object
niecza> CLR::System::Object.marshal(CLR::System::Object)
System.NullReferenceException: Object reference not set to an instance of an object
  at Niecza.CLRWrapperProvider.CoerceArgument (System.Object& clr, System.Type ty, Niecza.Variable var) [0x00000] in <filename unknown>:0 
  at Niecza.CLRWrapperProvider.marshal_handler (Niecza.Frame th) [0x00000] in <filename unknown>:0 
  at Niecza.Kernel.RunCore (Niecza.Frame& cur) [0x00000] in <filename unknown>:0 
  at  line 0 (KERNEL marshal @ 0) 
  at (eval) line 1 (MAIN_2 mainline @ 1) 
  at  line 0 (<repl> @ 1) 
  at  line 0 (ExitRunloop @ 0) 

Reported by colomon++.

@sorear sorear closed this in 1f5c317 Nov 4, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment