really strange function errors

div0 div0 at users.sourceforge.net
Fri Jul 23 15:43:34 PDT 2010


On 23/07/2010 23:39, Trass3r wrote:
> Getting a bunch of strange errors, anybody got an inkling what the cause
> might be?
>
>
> Error: function Sprite.size () is not callable using argument types ()
> <- wtf?
>
> Error: function Sprite.getPixel (uint x, uint y) is not callable using
> argument types (uint,uint) const
>
> Error: function Sprite.rotation (float angle) is not callable using
> argument types ()
> -> even though there is a rotation()!

wtf? we can't diagnose errors w/o context.
Show the relative code.

-- 
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk


More information about the Digitalmars-d-learn mailing list