File tree 1 file changed +3
-3
lines changed
tests/plugins/custom/analyzer
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import Phases.Phase
16
16
import ast .tpd
17
17
import transform .MegaPhase .MiniPhase
18
18
import Decorators ._
19
- import Symbols .Symbol
19
+ import Symbols .{ Symbol , requiredPackage }
20
20
import Constants .Constant
21
21
import Types ._
22
22
import transform .{ReifyQuotes , FirstTransform }
@@ -67,8 +67,8 @@ class InitChecker extends PluginPhase with StandardPlugin {
67
67
private def checkRef (tree : Tree )(implicit ctx : Context ): Tree =
68
68
if (! checkable(tree.symbol)) tree
69
69
else {
70
- val helloPkgSym = ctx. requiredPackage(" hello" ).moduleClass
71
- val libPkgSym = ctx. requiredPackage(" lib" ).moduleClass
70
+ val helloPkgSym = requiredPackage(" hello" ).moduleClass
71
+ val libPkgSym = requiredPackage(" lib" ).moduleClass
72
72
val enclosingPkg = tree.symbol.enclosingPackageClass
73
73
74
74
if (enclosingPkg == helloPkgSym) { // source code
You can’t perform that action at this time.
0 commit comments