function overloading doesn't work

0 views
Skip to first unread message

Mike Plavsky

unread,
May 23, 2008, 1:31:35 PM5/23/08
to Specter BDD Framework
Hi,

Any idea why this code:

context "SpringConfigReader when reading Spring configuration":

def func():
pass

def func(a as string):
pass

says: “Type 'SpringConfigReaderWhenReadingSpringConfiguration' already
has a definition for 'func'.”

?

At the same this one perfectly works:

class A:
def func():
pass
def func(objectName as string):
pass

Regards,
Mike

Cedric Vivier

unread,
May 23, 2008, 1:53:20 PM5/23/08
to specter-...@googlegroups.com
Nice catch! Will fix!

Btw I achieved to reproduce the problem with "Read() is not member...", I'll investigate as soon as I find some time :)

Regards,

Mike Plavsky

unread,
May 23, 2008, 6:31:32 PM5/23/08
to specter-...@googlegroups.com, specter-...@googlegroups.com
Cool! Thanks a lot!

Sent from my iPhone
Reply all
Reply to author
Forward
0 new messages