http://d.puremagic.com/issues/show_bug.cgi?id=6604


Vladimir Panteleev <thecybersha...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |thecybersha...@gmail.com
         Resolution|                            |INVALID


--- Comment #1 from Vladimir Panteleev <thecybersha...@gmail.com> 2011-09-05 
07:11:12 PDT ---
Casting is the tool which allows you to break D's typesystem. This behavior is
completely expected and is by design. If you use a cast, it's expected that you
know what you're doing.

Note that your code will not compile with @safe:

test.d(5): Error: cast from const(int*) to int* not allowed in safe code

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to