bazel-contrib / bazel-contrib/rules_scala
rule's "scalacopts" should get higher priority than toolchain "scalacopts"
- Dominant language
- Starlark
- Stars
- 384
- Forks
- 292
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 46
Description
In `scalacopts` there are some options that can be overridden by their last occurrance and some options that are aggregated
We need a test that makes sure that options that come from library rule `scalacopts` comes after any option that comes from toolchain's `scalacopts`
On #364 I did not add such test and I think it should be added.
Contributor guide
Research direction
Locate the scalacopts handling and review the test changes from #364, then trace how library-rule and toolchain options are ordered. Add a test that verifies library rule scalacopts occur after toolchain scalacopts, including options whose last occurrence wins and options that aggregate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- build-system, testing
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100