`shared restricted` constructors not working on the JVM
Closed this issue · 2 comments
zamfofex commented
When trying to compile the following code for the JVM, I get the following errors:
shared class Foo
{
shared restricted new foo()
{
}
}
shared void run() => Foo.foo();
Ceylon backend error: foo_ has private access in test.Foo
Ceylon backend error: Foo(test.Foo.foo_) has private access in test.Foo
gavinking commented
Fixed, needs to a backend test.
gavinking commented
Test added, done.