Skip to content

Commit

Permalink
error:
Browse files Browse the repository at this point in the history
```
bad parameter reference DependingPlugin.this.X at inlining
the parameter is type X in class SneakyPlugin but the prefix (DependingPlugin.this : com.github.pshirshov.test.plugins.DependingPlugin)
does not define any corresponding arguments.
idx = 0, args = ,
constraint =  uninstantiated variables:
 constrained types:
 bounds:
 ordering:
  make[String].from((_: TestDep, _: TestDep3, _: TestService) => "abc")
```
  • Loading branch information
neko-kai committed Oct 17, 2022
1 parent bbad760 commit d5ec555
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import izumi.fundamentals.platform.build.ExposedTestScope

@ExposedTestScope
class DependingPlugin extends SneakyPlugin {
make[String].from((_: TestDep, _: TestDep3, _: TestService) => "abc")
// make[String].from((_: TestDep, _: TestDep3, _: TestService) => "abc")
}

@ExposedTestScope
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ object Test extends Axis {
case object Y extends AxisChoiceDef
}

import izumi.distage.plugins.ForcedRecompilationToken.disabled._
@ExposedTestScope
class StaticTestPlugin extends SneakyPlugin with ConfigModuleDef {
make[TestDep].tagged(Test.X).from[TestDep1]
make[TestDep].tagged(Test.Y).from[TestDep2]
// make[TestDep].tagged(Test.X).from[TestDep1]
// make[TestDep].tagged(Test.Y).from[TestDep2]
make[TestService]
make[TestConf].fromConfig("test.testconf")
// make[TestConf].fromConfig("test.testconf")
}

0 comments on commit d5ec555

Please sign in to comment.