Daniil Ovchinnikov created GROOVY-8021:
------------------------------------------

             Summary: Super in traits cause MissingMethodException
                 Key: GROOVY-8021
                 URL: https://issues.apache.org/jira/browse/GROOVY-8021
             Project: Groovy
          Issue Type: Bug
          Components: Static compilation
    Affects Versions: 2.4.7
            Reporter: Daniil Ovchinnikov


{code}
@CompileStatic
trait SimpleTrait {
    void foo() {
        super.foo()
    }
}

@CompileStatic
class Foo implements SimpleTrait {}

new Foo().foo() // MissingMethodException
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to