import hex.di.mapping.IDependencyOwner;
import tink.CoreApi.Noise;
import tink.CoreApi.Promise;
@Dependency(var myFunc:Float->Float->Promise<Noise>)
class Test implements IDependencyOwner {
public function new(dependencies:Array<MappingDefinition>) {}
}
Using hexMachina 0.34, having something like
And having in a flow file the corresponding:
mapping({fromType: "Float->Float->tink.CoreApi.Promise<tink.CoreApi.Noise>", toValue: someClass.someFunc, withName: "myFunc"})
Results in the following error:
Config.flow:97: lines 97-100 : Missing mappings:[Float->Float->tink.CoreApi.Promise<tink.Noise>|myFunc]
Notice the wrong
Noise
definition.