1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 17:04:47 +03:00

diffWithParser needs a Hashable1 instance.

This commit is contained in:
Rob Rix 2018-05-16 16:19:18 -04:00
parent b2e5ee6d31
commit a918420726

View File

@ -8,6 +8,7 @@ import Data.Bifunctor
import Data.Bifunctor.Join
import Data.Diff
import Data.Functor.Classes
import Data.Hashable.Lifted
import Data.Patch
import Data.Range
import Data.Record
@ -241,6 +242,7 @@ diffWithParser :: ( HasField fields Data.Span.Span
, Diffable syntax
, GAlign syntax
, HasDeclaration syntax
, Hashable1 syntax
, Members '[Distribute WrappedTask, Task] effs
)
=> Parser (Term syntax (Record fields))