Vladimir Panteleev <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |
         Resolution|                            |INVALID

--- Comment #1 from Vladimir Panteleev <> 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:
------- You are receiving this mail because: -------

Reply via email to