You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean R. Owen (Jira)" <ji...@apache.org> on 2020/12/06 01:04:00 UTC

[jira] [Resolved] (SPARK-33499) Enable `-Wunused:imports` in Scala 2.13 SBT

     [ https://issues.apache.org/jira/browse/SPARK-33499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean R. Owen resolved SPARK-33499.
----------------------------------
    Resolution: Not A Problem

OK, so we don't remove it. I don't see the issue.

> Enable `-Wunused:imports` in Scala 2.13 SBT
> -------------------------------------------
>
>                 Key: SPARK-33499
>                 URL: https://issues.apache.org/jira/browse/SPARK-33499
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Build
>    Affects Versions: 3.1.0
>         Environment: !image-2020-11-20-18-49-16-384.png!
> Scala 2.13 think this is a {{unused import}} but Scala 2.12 compile failed without this import, so comments {{-Wunused:imports}} in Scala 2.13 and left a TODO in this pr
>  
>            Reporter: Yang Jie
>            Priority: Minor
>         Attachments: image-2020-11-20-18-50-21-567.png
>
>
> As the image, Scala 2.13 think `scala.language.higherKinds` is a {{unused import, }}but Scala 2.12 compile failed without this import, so comments {{-Wunused:imports}} in Scala 2.13 and left a TODO, 
> we should enabled `-Wunused:imports` when Scala 2.12 is no longer supported.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org