forked from Katrix/perspective
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move internal classes that are dependent on
q
inside a container.
Scala 3.3.0 does not allow the `extends` clause of a class to refer to constructor parameters. It was shown to be unsound. See scala/scala3#16270 However, we can depend on paths that enclose the class definition. So we introduce a container class `TreeMaps` that takes the `q: Q` as parameter, and move the classes that extend `q.reflect.TreeMap` inside that container.
- Loading branch information
Showing
1 changed file
with
80 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters