mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-11-30 23:45:23 +03:00
Work around happy bug by adding type signature on ipat
This commit is contained in:
parent
bf571569fa
commit
28bc4f81de
@ -75,7 +75,7 @@ library
|
||||
mtl >= 2.2.1,
|
||||
time >= 1.6.0.1
|
||||
|
||||
Build-tools: alex, happy < 1.19.6
|
||||
Build-tools: alex, happy
|
||||
hs-source-dirs: src
|
||||
|
||||
Exposed-modules: Cryptol.Prims.Syntax,
|
||||
|
@ -516,7 +516,7 @@ pat :: { Pattern PName }
|
||||
: ipat ':' type { at ($1,$3) $ PTyped $1 $3 }
|
||||
| ipat { $1 }
|
||||
|
||||
ipat
|
||||
ipat :: { Pattern PName }
|
||||
: ipat '#' ipat { at ($1,$3) $ PSplit $1 $3 }
|
||||
| apat { $1 }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user