really strange function errors

Trass3r un at known.com
Fri Jul 23 15:50:47 PDT 2010


> 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 ()

Ok, this was caused by calling sprite.rotation; on a const Sprite while  
rotation() wasn't marked as const.
The rest is probably similar errors.

The error message is really inexpressive though.


More information about the Digitalmars-d-learn mailing list