Keegan Witt created GROOVY-7520: ----------------------------------- Summary: Improve unimplemented message for abstract methods Key: GROOVY-7520 URL: https://issues.apache.org/jira/browse/GROOVY-7520 Project: Groovy Issue Type: Bug Components: Compiler Reporter: Keegan Witt
GROOVY-7081 caused the message to change for scenarios like {code:java} abstract class Module { abstract String getModuleName() } class Master extends Module { String title String track } def master = new Master(title: "Hello", track: "1") println master.title {code} The message went from {quote}Can't have an abstract method in a non-abstract class. The class 'Master' must be declared abstract or the method 'java.lang.String getModuleName()' must be implemented.{quote} to {quote}Abstract method 'java.lang.String getModuleName()' is not implemented but a method of the same name but different return type is defined: method 'java.lang.String getModuleName()'{quote} -- This message was sent by Atlassian JIRA (v6.3.4#6332)