> My code isn't correct?

No no no! the statement I quoted isn't correct.

`cast(Object)someIUnknownInterface` I think statically compiles to `null`. There is no code to actually execute in order to figure out if you can do it, you can't do it.

> we just print null anyways?

Does writeln(cast(void*)0) print 'null'? I thought it would print 0... nope, prints null, so I guess it's OK.

I still prefer the compile-time version for clarity and to avoid strange surprises. It would be nice to have a std.traits.isObject mechanism instead of having to special-case Windows.