Summary: @Safe functions not working
--- Comment #0 from eatingstap...@gmail.com 2011-01-05 09:08:13 PST ---
Created an attachment (id=860)
Code showing features not working
This is either a compiler bug, or outdated language documentation, but I'm
having some freedom with @safe functions:
* No casting from a pointer type to any type other than void*.
* No modification of pointer values.
* No taking the address of a local variable or function parameter.
I've attached code which does all three of these things, which compiles and
Inline assembler was an error, as well as casting from integer to a pointer
type, but I didn't test anything else.
I'm using dmd2.exe as my compiler.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------