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
I'd like to have this in my array of MappingDefinitions, supplies as dependencies to an IDependencyOwner: mapping({fromType: "?String->Void", toValue: fooController.bar, withName: "bar"}).
The dependency owner has this: @Dependency(var bar:?String->Void)
HM 0.35.0 compile error: Missing mappings:[Null<String>->Void|bar]
Changing fromType in DSL to Null<String>->Void - the code compiles. But the type is not exactly right (e.g. my function has a default non-null value for the string param).
HM 0.34.0 compile error: Missing mappings:[Dynamic->Void|bar]
Changing fromType in DSL to Dynamic->Void - the code compiles. But this is not safe (I can pass e.g.
a Bool->Void function and it compiles.
The text was updated successfully, but these errors were encountered:
I'd like to have this in my array of
MappingDefinitions
, supplies as dependencies to anIDependencyOwner
:mapping({fromType: "?String->Void", toValue: fooController.bar, withName: "bar"})
.The dependency owner has this:
@Dependency(var bar:?String->Void)
HM 0.35.0 compile error:
Missing mappings:[Null<String>->Void|bar]
Changing
fromType
in DSL toNull<String>->Void
- the code compiles. But the type is not exactly right (e.g. my function has a default non-null value for the string param).HM 0.34.0 compile error:
Missing mappings:[Dynamic->Void|bar]
Changing
fromType
in DSL toDynamic->Void
- the code compiles. But this is not safe (I can pass e.g.a
Bool->Void
function and it compiles.The text was updated successfully, but these errors were encountered: