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

Yang Jie updated SPARK-33499:
-----------------------------
    Summary: Enable `-Wunused:imports` in Scala 2.13 SBT  (was: Enabled 
`-Wunused:imports` in Scala 2.13 SBT)

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to