Skip to content

Commit

Permalink
[KYUUBI #6417] Remove scala compile args -Yno-adapted-args
Browse files Browse the repository at this point in the history
# 🔍 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 🔖

- [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

1464c81 [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 b406551)
Signed-off-by: Cheng Pan <[email protected]>
  • Loading branch information
pan3793 committed Nov 22, 2024
1 parent c118f42 commit a9d0afd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit a9d0afd

Please sign in to comment.