This is an automated email from the ASF dual-hosted git repository.
chengpan pushed a commit to branch branch-1.8
in repository https://gitbox.apache.org/repos/asf/kyuubi.git
The following commit(s) were added to refs/heads/branch-1.8 by this push:
new a9d0afd7f0 [KYUUBI #6417] Remove scala compile args -Yno-adapted-args
a9d0afd7f0 is described below
commit a9d0afd7f0c605a6644d44dbfd5fa708c0350073
Author: Cheng Pan <[email protected]>
AuthorDate: Fri May 24 16:27:03 2024 +0800
[KYUUBI #6417] Remove scala compile args -Yno-adapted-args
# :mag: Description
IDEA complains when enabling `scala-2.13` profile.
```
scala: bad option: '-Yno-adapted-args'
```
<img width="1728" alt="image"
src="https://github.com/apache/kyuubi/assets/26535726/5e350028-489b-4764-be7b-2cde2fcc522d">
I also found Spark removes it in SPARK-29413
## Types of changes :bookmark:
- [x] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
## Test Plan ๐งช
Pass GHA, and verify locally with IDEA.
---
# Checklist ๐
- [x] This patch was not authored or co-authored using [Generative
Tooling](https://www.apache.org/legal/generative-tooling.html)
**Be nice. Be informative.**
Closes #6417 from pan3793/scala-opt.
Closes #6417
1464c8194 [Cheng Pan] Remove scala compile args -Yno-adapted-args
Authored-by: Cheng Pan <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
(cherry picked from commit b4065511892cbeb9be09084d94f172287d62700b)
Signed-off-by: Cheng Pan <[email protected]>
---
pom.xml | 1 -
1 file changed, 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index e2c8d429df..3295784421 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1618,7 +1618,6 @@
<arg>-deprecation</arg>
<arg>-feature</arg>
<arg>-explaintypes</arg>
- <arg>-Yno-adapted-args</arg>
<arg>-P:silencer:globalFilters=.*deprecated.*</arg>
<arg>-P:silencer:globalFilters=.*Could not find
any member to link for.*</arg>
<arg>-P:silencer:globalFilters=.*undefined in
comment for class.*</arg>