Skip to content

build error with the commit 23b6ed40288e36b5849d74c86a5cd0fa7548f043 #38

Description

@mut0u

I use the recently commit to build grpc demo and failed. the error is

    [ 1 of 13] Compiling Proto3.Suite.DotProto.AST ( src/Proto3/Suite/DotProto/AST.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Proto3/Suite/DotProto/AST.o )
    
   program/.stack-work/downloaded/XJwrjlKl8Cc8/src/Proto3/Suite/DotProto/AST.hs:391:22: error:
        • No instance for (Arbitrary Natural)
            arising from a use of ‘arbitrary’
        • In a stmt of a 'do' block: natural <- arbitrary
          In the expression:
            do natural <- arbitrary
               return (fromIntegral (natural :: Natural))
          In an equation for ‘arbitraryFieldNumber’:
              arbitraryFieldNumber
                = do natural <- arbitrary
                     return (fromIntegral (natural :: Natural))
        |
    391 |           natural <- arbitrary
        |                      ^^^^^^^^^
    

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions