History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BOO-955
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Cedric Vivier
Reporter: Cedric Vivier
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Boo

Implementing an interface method with incompatible method signature doesn't ring any bell

Created: 23/Jan/08 10:34 AM   Updated: 23/Jan/08 12:15 PM
Component/s: None
Affects Version/s: 0.8
Fix Version/s: 0.8.1

Time Tracking:
Not Specified

Testcase included: yes


 Description  « Hide
interface ITest:
def Method() as string:
pass

class Test(ITest):
def Method(x as string) as string:
pass

t = Test()

This compiles successfully, and obviously fail at runtime with a TypeLoadException.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Cedric Vivier - 23/Jan/08 10:35 AM
It seems currently only the name and return type is checked.

Cedric Vivier - 23/Jan/08 12:15 PM
fixed on rev. 2835