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

Key: GROOVY-2454
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Paul King
Reporter: Jonathan Feinberg
Votes: 0
Watchers: 1
Operations

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

Groovy does not enforce implementation contract on interface that extends interface

Created: 29/Dec/07 07:05 AM   Updated: 08/Feb/08 01:26 AM
Component/s: command line processing
Affects Version/s: 1.5
Fix Version/s: 1.5.2

Time Tracking:
Not Specified


 Description  « Hide
Given a Java interface A with abstract method a(), and an interface B extends A with method b(), it is possible to compile Groovy class BImpl implements B { b() }. The compiler should complain about unimplemented a(). Explicitly declaring that B implements A, B does catch the error.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jonathan Feinberg - 01/Jan/08 09:05 AM
That was quick!

Paul King - 08/Feb/08 01:26 AM
close off release 1.5.4