Skip to content
This repository was archived by the owner on Jun 23, 2020. It is now read-only.

Commit 87ac204

Browse files
socadriaanm
authored andcommitted
SI-7624 Fix a few remaining -Xlint warnings ...
in various places. This includes actors, compiler (mostly some new macro parts) continuations, partest, scaladoc, scalap.
1 parent 91e264e commit 87ac204

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/continuations/plugin/scala/tools/selectivecps/CPSAnnotationChecker.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,7 @@ abstract class CPSAnnotationChecker extends CPSUtils {
395395
/** Modify the type that has thus far been inferred
396396
* for a tree. All this should do is add annotations. */
397397

398-
override def pluginsTyped(tpe: Type, typer: Typer, tree: Tree, mode: Int, pt: Type): Type = {
399-
import scala.util.control._
398+
override def pluginsTyped(tpe: Type, typer: Typer, tree: Tree, mode: Mode, pt: Type): Type = {
400399
if (!cpsEnabled) {
401400
val report = try hasCpsParamTypes(tpe) catch { case _: MissingRequirementError => false }
402401
if (report)

0 commit comments

Comments
 (0)