File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed
compiler/src/dotty/tools/dotc/transform/patmat Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,17 @@ package dotty.tools.dotc
2
2
package transform
3
3
package patmat
4
4
5
- import core .Types ._
6
- import core .Contexts ._
7
- import core .Flags ._
5
+ import core ._
6
+ import Types ._
7
+ import Contexts ._
8
+ import Flags ._
8
9
import ast .Trees ._
9
10
import ast .tpd
10
- import core . Decorators ._
11
- import core . Symbols ._
12
- import core . StdNames ._
13
- import core . NameOps ._
14
- import core . Constants ._
11
+ import Decorators ._
12
+ import Symbols ._
13
+ import StdNames ._
14
+ import NameOps ._
15
+ import Constants ._
15
16
import reporting .diagnostic .messages ._
16
17
import config .Printers .{ exhaustivity => debug }
17
18
@@ -329,11 +330,11 @@ class SpaceEngine(implicit ctx: Context) extends SpaceLogic {
329
330
import SpaceEngine ._
330
331
import tpd ._
331
332
332
- private val scalaSomeClass = ctx.requiredClass(" scala.Some" .toTypeName )
333
- private val scalaSeqFactoryClass = ctx.requiredClass(" scala.collection.generic.SeqFactory" .toTypeName )
334
- private val scalaListType = ctx.requiredClassRef(" scala.collection.immutable.List" .toTypeName )
335
- private val scalaNilType = ctx.requiredModuleRef(" scala.collection.immutable.Nil" .toTermName )
336
- private val scalaConsType = ctx.requiredClassRef(" scala.collection.immutable.::" .toTypeName )
333
+ private val scalaSomeClass = ctx.requiredClass(" scala.Some" )
334
+ private val scalaSeqFactoryClass = ctx.requiredClass(" scala.collection.generic.SeqFactory" )
335
+ private val scalaListType = ctx.requiredClassRef(" scala.collection.immutable.List" )
336
+ private val scalaNilType = ctx.requiredModuleRef(" scala.collection.immutable.Nil" )
337
+ private val scalaConsType = ctx.requiredClassRef(" scala.collection.immutable.::" )
337
338
338
339
/** Checks if it's possible to create a trait/class which is a subtype of `tp`.
339
340
*
You can’t perform that action at this time.
0 commit comments