Skip to content

Commit 4a68435

Browse files
committed
Change map to not use case with explicit BindingOptions implementation type
1 parent fa0b9f2 commit 4a68435

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbt-scala-native-bindgen/src/main/scala/org/scalanative/bindgen/sbt/ScalaNativeBindgenPlugin.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ object ScalaNativeBindgenPlugin extends AutoPlugin {
125125
// FIXME: Check uniqueness of names.
126126

127127
optionsList.map {
128-
case options: BindingOptions.Impl =>
128+
options =>
129129
bindgen.generate(options) match {
130130
case Right(bindings) =>
131131
val output = outputDirectory / s"${bindings.name}.scala"

0 commit comments

Comments
 (0)