LuciferYang commented on code in PR #43472:
URL: https://github.com/apache/spark/pull/43472#discussion_r1367679134


##########
project/SparkBuild.scala:
##########
@@ -237,7 +237,14 @@ object SparkBuild extends PomBuild {
         //  fixed.
         
"-Wconf:msg=^(?=.*?method|value|type|object|trait|inheritance)(?=.*?deprecated)(?=.*?since
 2.13).+$:s",
         "-Wconf:msg=^(?=.*?Widening conversion from)(?=.*?is deprecated 
because it loses precision).+$:s",
-        "-Wconf:msg=Auto-application to \\`\\(\\)\\` is deprecated:s",
+        // SPARK-45610 Convert "Auto-application to `()` is deprecated" to 
compile error, as it will become a compile error in Scala 3.

Review Comment:
   As this compilation warning will become a compilation error in Scala 3, to 
ensure it does not occur again, this PR also converts it into a compilation 
error in Scala 2.13.
   
   If we don't need to do this protection now, please let me know.
   
   cc @srowen  FYI



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to