eclipse-archived/ceylon

static methods on interface give Java backend error

Opened this issue · 0 comments

dlkw commented
shared interface InterfaceWithStaticMethod{
    shared static void method()
    {
        print("hello");
    }
}

shared class Impl() satisfies InterfaceWithStaticMethod
{
}

gives Ceylon backend error: method does not override or implement a method from a supertype
(Ceylon 1.3.3 on Java 8)