There is hack that works around this, but unless you absolutely can't
live without named arguments, you don't want to use it--its not worth
it.  It will just pollute and complicate your code.

On Tue, 13 Jul 2004 18:59:10 -0700, Paul Kenney <[EMAIL PROTECTED]> wrote:
> Its a bug in 6.1 that you just have to deal with. Can't do it.  You
> have to use positional arguments, and cannot use named arguments when
> calling a method in the "super" scope.  Having said that, I'll bet
> there's someone just waiting to say, "BD 6.1 doesn't have a problem
> with this. Abandon Macromedia and follow me!"  Please resist the
> temptation, whoever you are..
> 
> Its a bug, and MM knows all about it.  Not sure if Blackstone fixes
> this, but if doesn't, then someone isn't paying attention... so my
> GUESS is its fixed in Blackstone--or at least a deep hope.
> 
> 
> 
> 
> ----- Original Message -----
> From: Taco Fleur <[EMAIL PROTECTED]>
> Date: Wed, 14 Jul 2004 11:48:51 +1000
> Subject: [cfaussie] super.method()
> To: CFAussie Mailing List <[EMAIL PROTECTED]>
> 
> Anyone any idea why
> super.method( argumentCollection = arguments ) or super.method( name = value
> )
> 
> gives me an
> 
> Cannot invoke method
> [method name] on an object of type coldfusion.runtime.Struct with named
> arguments.
> 
> I am on CFMX 6.1
> 
> Taco
> Fleur
> 
> Tell me and I will forget
> Show me and I will remember
> Teach me and
> I will learn
> 
> ---
> 
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> 
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> 
> Aussie Macromedia Developers: http://lists.daemon.com.au/
> 
> 
> --
> Paul Kenney
> [EMAIL PROTECTED]
> 


-- 
Paul Kenney
[EMAIL PROTECTED]

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to