If a workflow contains a port with multiple inputs set to "Merge" then the workflow succesfully translates to a T2 dataflow, but subsequently fails to validate.
This is because the merge is being handled by inserting a new node in the dataflow, which isn't a Processor but a TokenProcessorEntity causing it to be skipped during the type checking phase.
This fix for this looks like it should be to move the doTypeCheck from Processor to TokenProcessorEntity, and have the type checking run over all TokenProcessingEntities.
I've added an integration test that flags this problem: TranslateAndRunTest::testTranslateAndValidateWithMerge which currently fails.