rnMethodBind: reject pattern synonyms in instance definitions (fixes #9705)
Fixed T5435_dyn_asm on Windows. The test code was not in sync with the expected output.

Reviewers: austin

Reviewed By: austin

Subscribers: thomie, carter, simonmar

Differential Revision: https://phabricator.haskell.org/D403

GHC Trac Issues: #5435
Test #9262 in th/T9262, and update other tests.
Bring unbound tyvars into scope during reifyInstances.

Fix #9262.
Test #8953 in th/T8953
Always use KindedTV when reifying. (#8953)
Annotate reified poly-kinded tycons when necessary. (#8953)
Annotate poly-kinded type patterns in instance reification.

This should fix #8953.
Testsuite wibbles from fixing #8953
Test #9084 in th/T9084.

The patch includes errors for a whole host of pragmas. But, these
are generated one at a time, and it doesn't seem like a good idea
to add gobs of test-cases here.
Fix #9084 by calling notHandled when unknown bits are enountered.
Fix testsuite output from #9084.
Test #9738 in th/T9738
Fix #9738, by handling {-# ANN ... #-} in DsMeta.
Update release notes for #9262 #8953 #9084.
Tweak the error message for pattern synonym methods,
since they are disallowed both in class and instance declarations
Put one-Shot info in the interface

Differential Revision: https://phabricator.haskell.org/D391
Add GHC.Prim.oneShot

to allow the programer to explictitly set the oneShot flag. This helps
with #7994 and will be used in left folds. Also see
https://ghc.haskell.org/trac/ghc/wiki/OneShot

This commit touches libraries/base/GHC/Event/Manager.hs (which used to
have a local definition of the name oneShot) to avoid a shadowing error.

Differential Revision: https://phabricator.haskell.org/D392
Use oneShot in the definition of foldl etc.

This increases the chance of good code after fusing a left fold. See
ticket #7994 and the new Note [Left folds via right fold]

Differential Revision: https://phabricator.haskell.org/D393
Update expected profiling output for scc001