Cast Object - get null
Jonathan M Davis
jmdavisProg at gmx.com
Thu Apr 19 02:04:51 PDT 2012
On Thursday, April 19, 2012 10:48:45 Namespace wrote:
> And which version do you use? I use DMD 2.059 on Windows 7.
>
> I get this compile error with your code
> object.Error: Access Violation
> ----------------
> 41943C
> 4192C7
> 40F75B
> 40BE90
> 40BECA
> 40BAEB
> 4206E1
>
> If i comment out this part
>
> if (vs2 == vf) {
> writeln("equal");
> }
>
>
> it works fine.
I tried both 2.058 and the latest from github. But I'm on 64-bit Linux, so
it's possible that you're seeing a Windows-specific issue.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list