File tree Expand file tree Collapse file tree 2 files changed +151
-154
lines changed
compiler/src/dotty/tools/dotc/transform/linker Expand file tree Collapse file tree 2 files changed +151
-154
lines changed Original file line number Diff line number Diff line change 1
- package dotty .tools .dotc .transform .linker
1
+ package dotty .tools .dotc
2
+ package transform .linker
2
3
3
- import dotty .tools .dotc .{ast , core }
4
- import core ._
5
- import Contexts ._
6
- import dotty .tools .dotc .ast .Trees ._
7
- import StdNames ._
8
- import NameOps ._
9
- import dotty .tools .dotc .ast .tpd
10
- import Symbols ._
11
- import dotty .tools .dotc .core .Phases .Phase
12
- import dotty .tools .dotc .core .Types .{NoPrefix , TermRef , ThisType }
13
- import dotty .tools .dotc .transform .{Erasure , TreeTransforms }
14
- import dotty .tools .dotc .transform .TreeTransforms .{MiniPhaseTransform , TransformerInfo }
15
- import dotty .tools .dotc .transform .SymUtils ._
16
- import Decorators ._
4
+ import ast .Trees ._
5
+ import ast .tpd
6
+ import core .Contexts ._
7
+ import core .NameOps ._
8
+ import core .StdNames ._
9
+ import core .Symbols ._
17
10
18
11
object Analysis {
19
12
import tpd ._
@@ -56,7 +49,7 @@ object Analysis {
56
49
" scala.runtime.BoxesRunTime.unboxToChar" ,
57
50
" scala.runtime.BoxesRunTime.unboxToFloat"
58
51
)
59
-
52
+
60
53
def effectsDontEscape (t : Tree )(implicit ctx : Context ) = {
61
54
t match {
62
55
case Apply (fun, args) if fun.symbol.isConstructor && constructorWhiteList.contains(fun.symbol.owner.fullName.toString) =>
You can’t perform that action at this time.
0 commit comments