Code



Compilation output:

@property iButton button(iButton b) { if (cast(WindowsButton)b is null) { writeln(`Invalid object type dependency mismatch! Type: `~(typeid(cast(Object)b).name)~` Type Expected: WindowsButton`); return null; }return button(cast(WindowsButton)b); }@property iBorder border(iBorder b) { if (cast(WindowsBorder)b is null) { writeln(`Invalid object type dependency mismatch! Type: `~(typeid(cast(Object)b).name)~` Type Expected: WindowsBorder`); return null; }return border(cast(WindowsBorder)b); } @property iButton button(iButton b) { if (cast(LinuxButton)b is null) { writeln(`Invalid object type dependency mismatch! Type: `~(typeid(cast(Object)b).name)~` Type Expected: LinuxButton`); return null; }return button(cast(LinuxButton)b); }@property iBorder border(iBorder b) { if (cast(LinuxBorder)b is null) { writeln(`Invalid object type dependency mismatch! Type: `~(typeid(cast(Object)b).name)~` Type Expected: LinuxBorder`); return null; }return border(cast(LinuxBorder)b); }

Paste info


Author: Guest
Views: 421
Private: no
Expires: Never
Uploaded: 26.02.14 1:06
Votes: 0

Compilation


Compiler: DMD 2.076.1 ( 2.076.1 )
Pointer size: m64

Actions