Refactor the parser a little

* Create a dedicated production for type operators
* Create a dedicated type for the UNPACK pragma
* Remove an outdated part of Note [Parsing data constructors is hard]
24 jobs for master in 367 minutes and 54 seconds (queued for 17 seconds)
Status Job ID Name Coverage
  Lint
passed #403338
lint
lint-linters

00:00:14

failed #403341
lint allowed to fail
lint-submods

00:00:13

passed #403342
lint
lint-submods-branch

00:00:21

passed #403339
lint
lint-testsuite

00:00:16

passed #403340
lint
typecheck-testsuite

00:00:15

 
  Quick Build
passed #403343
x86_64-linux
hadrian-ghc-in-ghci

00:12:51

 
  Build
passed #403344
x86_64-linux
validate-x86_64-linux-deb9-hadrian

01:25:26

 
  Full Build
failed #403347
aarch64-linux allowed to fail
validate-aarch64-linux-deb9

03:50:59

failed #403348
armv7-linux allowed to fail
validate-armv7-linux-deb9

00:13:40

passed #403349
x86_64-linux
validate-i386-linux-deb9

01:46:40

failed #403356
new-x86_64-windows test allowed to fail
validate-i386-windows

passed #403346
x86_64-darwin
validate-x86_64-darwin

01:09:15

passed #403350
x86_64-linux
validate-x86_64-linux-deb9-debug

02:01:39

passed #403352
x86_64-linux
validate-x86_64-linux-deb9-dwarf

01:45:05

passed #403351
x86_64-linux
validate-x86_64-linux-deb9-integer-simple

01:45:45

passed #403345
x86_64-linux
validate-x86_64-linux-deb9-unreg-hadrian

03:33:03

passed #403353
x86_64-linux
validate-x86_64-linux-fedora27

01:51:48

failed #403355
new-x86_64-windows test allowed to fail
validate-x86_64-windows

failed #403354
new-x86_64-windows test allowed to fail
validate-x86_64-windows-hadrian

 
  Cleanup
passed #403357
x86_64-darwin
cleanup-darwin

00:00:18

 
  Packaging
failed #403358
x86_64-linux allowed to fail
doc-tarball

00:00:28

 
  Testing
manual #403359
x86_64-linux allowed to fail manual
hackage
passed #403360
x86_64-linux
perf-nofib

00:36:35

 
  Deploy
failed #403361
x86_64-linux allowed to fail
pages

00:00:19

 
Name Stage Failure
failed
validate-i386-windows Full Build There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job log
failed
pages Deploy
Entering 'nofib'
Entering 'utils/haddock'
Entering 'utils/hsc2hs'
Executing "step_script" stage of the job script
$ mkdir -p public/doc
$ tar -xf haddock.html.tar.xz -C public/doc
tar: haddock.html.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
ERROR: Job failed: exit code 1
failed
lint-submods Lint
Entering 'libraries/unix'
Entering 'libraries/xhtml'
Entering 'nofib'
Entering 'utils/haddock'
Entering 'utils/hsc2hs'
Authenticating with credentials from job payload (GitLab Registry)
$ git fetch "$CI_MERGE_REQUEST_PROJECT_URL" $CI_MERGE_REQUEST_TARGET_BRANCH_NAME
fatal: No path specified. See 'man git-pull' for valid url syntax
ERROR: Job failed: exit code 1
failed
validate-x86_64-windows-hadrian Full Build There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job log
failed
validate-armv7-linux-deb9 Full Build
Uploading artifacts...
WARNING: ghc-armv7-linux-deb9.tar.xz: no matching files
WARNING: junit.xml: no matching files
WARNING: performance-metrics.tsv: no matching files
ERROR: No files to upload
Uploading artifacts...
WARNING: junit.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1
failed
validate-aarch64-linux-deb9 Full Build
                          (baseline @ HEAD~2)                        3181988232.000  [unchanged, 0.0%]
T13719(normal) compile_time/bytes allocated 5719356696.000
(baseline @ HEAD~2) 5719144808.000 [unchanged, 0.0%]
T14052(ghci) compile_time/bytes allocated 2342195248.000
(baseline @ HEAD~2) 2342249664.000 [unchanged, -0.0%]
T14683(normal) compile_time/bytes allocated 5587308232.000
(baseline @ HEAD~2) 5587442640.000 [unchanged, -0.0%]
T14697(normal) compile_time/bytes allocated 431465760.000

Job's log exceeded limit of 16384000 bytes.
failed
validate-x86_64-windows Full Build There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job log
failed
doc-tarball Packaging
Entering 'utils/haddock'
Entering 'utils/hsc2hs'
Downloading artifacts
Downloading artifacts for validate-x86_64-linux-deb9-debug (403350)...
Downloading artifacts from coordinator... ok
id=403350 responseStatus=200 OK token=uvEdgpkN
Executing "step_script" stage of the job script
$ if [ ! -f "$LINUX_BINDIST" ]; then # collapsed multi-line command
Error: ghc-x86_64-mingw32.tar.xz does not exist. Did the 64-bit Windows job fail?
ERROR: Job failed: exit code 1