Code



Compilation output:

/d649/f987.d-mixin-3(7): Error: 'this' is only defined in non-static member functions, not fun /d649/f987.d(9): Error: template instance f987.namespace!"\x0a\x09\x09void fun()\x0a\x09\x09{\x0a\x09\x09\x09import std.stdio;\x0a\x09\x09\x09writeln(this.x);\x0a\x09\x09}\x0a\x09" error instantiating

Paste info


Author: Guest
Views: 284
Private: no
Expires: Never
Uploaded: 04.12.15 2:35
Votes: 0

Compilation


Compiler: DMD 2.077.1 ( 2.077.1 )
Pointer size: m64

Actions