The following declaration produces a deprecation warning on the Swift 6 language mode only. I'm aware that the placeholder-less methods were deprecated but this seems to have only appeared after #114 was released.
var onCancel: () -> Void = unimplemented("ViewModel.onCancel") // warning: 'unimplemented(_:file:fileID:function:line:)' is deprecated: renamed to 'unimplemented(_:placeholder:)'
I can of course resolve the warning with the following but I don't think the intention is that this is necessary.
var onCancel: () -> Void = unimplemented("ViewModel.onCancel", placeholder: ())
The following declaration produces a deprecation warning on the Swift 6 language mode only. I'm aware that the placeholder-less methods were deprecated but this seems to have only appeared after #114 was released.
I can of course resolve the warning with the following but I don't think the intention is that this is necessary.