You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importfactorio._objectFactorioTest {
traitThingclassWantNamedSomething(@named("volde") valsome:Thing)
@blueprint
classTestBlueprint {
@provides @named("volde")
valthing:Thing=newThing {}
// if changed to //// def thing: Thing = new Thing {}//// it works
}
valassembler=Assembler[WantNamedSomething](newTestBlueprint)
assembler()
}
results in this error:
[error]
[error] [Factorio]: Cannot construct an instance of an abstract class [FactorioTest.Thing named volde], provide a concrete class binder or an instance provider.
[error]
[error] While analyzing path:
[error] 0: io.saa.front.FactorioTest.WantNamedSomething ->
[error]
[error] val assembler = Assembler[WantNamedSomething](new TestBlueprint)
[error] ^
The text was updated successfully, but these errors were encountered:
results in this error:
The text was updated successfully, but these errors were encountered: