"cast(Foo) foo" has type "Foo?"
commitb26b5921909560e6f519a9d326cdb2c8d62b4794
authorThomas Leonard <talex5@gmail.com>
Fri, 26 Sep 2008 13:48:10 +0000 (26 14:48 +0100)
committerThomas Leonard <talex5@gmail.com>
Fri, 26 Sep 2008 13:48:10 +0000 (26 14:48 +0100)
tree97958cbf5c8b5851576460618f69294c9f4ef7d8
parent90d62a3bb341214b713eaa2b9adaba9915d58c59
"cast(Foo) foo" has type "Foo?"

Casting in D returns null if the object isn't of the requested type.
dmd/expression.c