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
today, attempting to do this both requires an instance of the new type and produces a compiler warning. we should offer a special case for this that makes the type signatures 'just work' without requiring a value and doesn't emit a compiler warning. example:
structWF:Workflow{typealiasOutput=NevertypealiasState=VoidtypealiasRendering=Intfunc render(state:State, context:RenderContext<WF>)->Rendering{return0}}func test(_ rc:RenderContext<WF>){enumNewOutput{case zero
}letz:AnyWorkflow<String,NewOutput>=WF().mapRendering{"\($0)"}.mapOutput{ _ in.zero } // ⚠️ Will never be executed
.asAnyWorkflow()}