Issue Details (XML | Word | Printable)

Key: BOO-410
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Rodrigo B. de Oliveira
Reporter: Arron Washington
Votes: 0
Watchers: 0
Operations

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

Bad error message with structs that have partially implement interfaces.

Created: 28/Jul/05 06:23 PM   Updated: 24/Aug/05 11:23 PM
Component/s: Compiler
Affects Version/s: 0.5.6
Fix Version/s: 0.6

Time Tracking:
Not Specified


 Description  « Hide
The compiler needs to inform the user that they NEED to implement all of the contracts defined in an interface when they implement that interface within a struct.

The problem is the compiler tries to turn a struct abstract, which is invalid; this is because classes are normally marked abstract if they do not implement all of an interfaces contracts.

The following code should exhibits this bad behavior.

import System
struct test(IComparable):
pass



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.