| From | Sent On | Attachments |
|---|---|---|
| Bob Brown | Dec 28, 2008 11:04 pm | |
| Roshan Dawrani | Dec 28, 2008 11:15 pm | |
| Roshan Dawrani | Dec 28, 2008 11:43 pm | |
| Paul King | Dec 29, 2008 1:29 am | |
| Paul King | Dec 29, 2008 1:38 am | |
| Paul King | Dec 29, 2008 1:50 am | |
| Roshan Dawrani | Dec 29, 2008 2:14 am | |
| Bob Brown | Dec 29, 2008 3:29 am | |
| Jochen Theodorou | Dec 29, 2008 6:38 am | |
| Paul King | Dec 29, 2008 2:02 pm | |
| Bob Brown | Dec 29, 2008 2:19 pm | |
| Paul King | Dec 31, 2008 10:12 pm | |
| Bob Brown | Dec 31, 2008 10:20 pm | |
| Bob Brown | Jan 6, 2009 5:00 pm |
| Subject: | RE: [groovy-user] metaclass and curry() gives MissingMethodException | |
|---|---|---|
| From: | Bob Brown (bo...@transentia.com.au) | |
| Date: | Dec 31, 2008 10:20:24 pm | |
| List: | org.codehaus.groovy.user | |
I saw you were beavering away...
I was most impressed ;-)
I will give it a try and see what I can see...
Happy new year to you and your family.
Hope the coming year isn't going to be all doom and gloom.
Cheers,
BOB
-----Original Message----- From: Paul King [mailto:pau...@asert.com.au] Sent: Thursday, 1 January 2009 4:13 PM To: us...@groovy.codehaus.org Subject: Re: [groovy-user] metaclass and curry() gives MissingMethodException
Hi Bob,
Thanks for finding/submitting the issue. Should be fixed in svn. If you get a chance to double check with your examples that would be great.
Paul.
Bob Brown wrote:
I have created http://jira.codehaus.org/browse/GROOVY-324, giving background and referencing this thread.
BOB
-----Original Message----- From: Paul King [mailto:pau...@asert.com.au] Sent: Tuesday, 30 December 2008 8:03 AM To: us...@groovy.codehaus.org Subject: Re: [groovy-user] metaclass and curry() gives MissingMethodException
I suspect a bug too...
Paul.
Jochen Theodorou wrote:
Roshan Dawrani schrieb:
Hi Paul,
So, what really is the reason for doing it like
String.metaClass.fastSplitComma4 = { c.delegate = delegate; c() }
frankly... this looks strange... If all goes right, then c.delegate should call CurriedClosure.setDelegate which does simply call setDelegate on the uncurried closure. But the curried closure will respond to getDelegate with its own delegate, rather then with owner.delegate.. this sounds like a bug to me
bye blackdrag
-- Jochen "blackdrag" Theodorou The Groovy Project Tech Lead (http://groovy.codehaus.org) http://blackdragsview.blogspot.com/
-------------------------------------------------------------------
-- To unsubscribe from this list, please visit:
-- View this message in context: http://www.nabble.com/metaclass-and- curry%28%29-gives-MissingMethodException-tp21199683p21209797.html Sent from the groovy - user mailing list archive at Nabble.com.
-------------------------------------------------------------------- - To unsubscribe from this list, please visit:
--------------------------------------------------------------------- To unsubscribe from this list, please visit:
--------------------------------------------------------------------- To unsubscribe from this list, please visit:
--------------------------------------------------------------------- To unsubscribe from this list, please visit:





