No, it's talking about an *object*, and that object is expected to have the _m_delete attribute. And it didn't, which was the error.
Quote: "Expected object with _m_delete"
This is getting boring. Do you have a better wording for that error message to suggest? Please spell it out. If not can we *please* stop this thread now?
(And I'm particularly annoyed that you can't simply say "ooops, didn't read that carefully enough, I understand now" without starting an boring discussion about how some hypothetical newbie is supposedly being confused by the error message. I've seen that and similar argument too often, and it's almost always totally irrelevant).
/ Niels Möller ()
Previous text:
2003-02-10 22:34: Subject: Re: Implicit vs. explicit type casting with Pike
On Mon, Feb 10, 2003 at 10:25:10PM +0100, Per Hedbor () @ Pike (-) developers forum scribbled:
No, I really don't think that it will be confusing for most people.
'Illegal argument Y to X. Expected Z.' is a rather common error message. Especially in pike.
Most people will get used to it rather quickly. The alternative is not to say what the function expected. That's hardly an improvement.
Per, note that the message is talking about TWO functions, not one.
marek
/ Brevbäraren