Commit e807e2a
committed
WIP: Bzlmod part the twenty-eighth
Added `scalacopts = ["-language:higherKinds"]` to the compiler_plugin
target to fix:
```txt
ERROR: rules_scala/test/src/main/scala/scalarules/test/compiler_plugin/BUILD.bazel:3:14:
scala @@//test/src/main/scala/scalarules/test/compiler_plugin:compiler_plugin failed:
(Exit 1): scalac failed: error executing Scalac command
(from target //test/src/main/scala/scalarules/test/compiler_plugin:compiler_plugin)
bazel-out/darwin_arm64-opt-exec-ST-d57f47055a04/bin/src/java/io/bazel/rulesscala/scalac/scalac
... (remaining 1 argument skipped)
test/src/main/scala/scalarules/test/compiler_plugin/KindProjected.scala:6:
error: not found: type *
class KKTImpl extends HKT[Either[String, *]]
^
test/src/main/scala/scalarules/test/compiler_plugin/KindProjected.scala:6:
error: Either[String,<error>] takes no type parameters, expected: 1
class KKTImpl extends HKT[Either[String, *]]
```1 parent 1bad71b commit e807e2a
File tree
1 file changed
+1
-0
lines changed- test/src/main/scala/scalarules/test/compiler_plugin
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
0 commit comments