You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constructor Seal in class Seal cannot be accessed in package test from package test
Access to protected constructor Seal not permitted because
enclosing package test is not a subclass of
class Seal in package test where target is defined
protected[test] class Walrus extends Seal
A bummer because it is a useful technique for 'unsealing' a class for a class in another file.
The text was updated successfully, but these errors were encountered:
assuming you mean extends Seal[String] or some such and not just extends Seal (because otherwise "Missing type parameter for test.Seal"), Scala 3 accepts this
offhand this like something we'd be unlikely to tinker with in a Scala 2 context, but I could certainly be wrong
Uh oh!
There was an error while loading. Please reload this page.
Reproduction steps
Scala version: 2.13.10
Problem
A bummer because it is a useful technique for 'unsealing' a class for a class in another file.
The text was updated successfully, but these errors were encountered: