Seems they cant stop making breaking changes
They seemed to have changed their whole ‘casting’ system. Previously I had work around valuetypes being passed by address! Hence using the object type in the assembly, but tracking the real type during compilation. Now I will have to rethink the system…
What ‘latest DLR’? Do you mean the 2.0a4 release, or is this new changes in the repository?
By: Michael Foord on October 2, 2007
at 5:27 pm
Michael: New changes in the repository.
leppie: From what I can read, wasn’t the change as simple as s/Convert/DynamicConvert/, s/Cast/Convert/?
By: Seo Sanghyeon on October 3, 2007
at 9:02 am
I mean the latest changes in the repository.
By: leppie on October 4, 2007
at 9:16 am
Seo: That part was simple
Unfortunately the following broke (in C# psuedo):
object a = 1; // does not like valuetype
I have to do a convert to object before assigning else there is assert failure. On the positive side, I think this reasoning might fix the other problem discussed in post (ie 1 being passed as 0xBEEFCACE).
By: leppie on October 4, 2007
at 9:21 am