mirror of
https://github.com/facebook/Haxl.git
synced 2024-12-23 00:31:32 +03:00
support GHC 9.0.1 (#144)
Summary: new GHC 9.0 parser fails on space before strict operator ![image](https://user-images.githubusercontent.com/18636038/138489244-9321cc80-5bdf-4496-80ef-6afb289a2f13.png) this pull request supports GHC 9.0 by removing this space. Pull Request resolved: https://github.com/facebook/Haxl/pull/144 Reviewed By: josefs Differential Revision: D33074741 Pulled By: watashi fbshipit-source-id: 78579a041f939c0d9a0690a0e88f2ba881972332
This commit is contained in:
parent
461e12f4d7
commit
115b3be9f4
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
ghc: ['8.10.2', '8.8.4', '8.6.5', '8.4.4', '8.2.2']
|
||||
ghc: ['9.0.1', '8.10.2', '8.8.4', '8.6.5', '8.4.4', '8.2.2']
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -51,7 +51,7 @@ newtype DataCache res = DataCache (HashTable TypeRep (SubCache res))
|
||||
--
|
||||
data SubCache res =
|
||||
forall req a . (Hashable (req a), Eq (req a)) =>
|
||||
SubCache (req a -> String) (a -> String) ! (HashTable (req a) (res a))
|
||||
SubCache (req a -> String) (a -> String) !(HashTable (req a) (res a))
|
||||
-- NB. the inner HashMap is strict, to avoid building up
|
||||
-- a chain of thunks during repeated insertions.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user