Skip to content

Commit e807e2a

Browse files
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 changed

test/src/main/scala/scalarules/test/compiler_plugin/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ load("//scala:scala.bzl", "scala_library")
22

33
scala_library(
44
name = "compiler_plugin",
5+
scalacopts = ["-language:higherKinds"],
56
testonly = True,
67
srcs = ["KindProjected.scala"],
78
visibility = ["//visibility:public"],

0 commit comments

Comments
 (0)