[Git][ghc/ghc][wip/jeltsch/duplex-readability-and-writability] 15 commits: Fix subtle bug in cast worker/wrapper