{"action":"created","issue":{"url":"https://api.github.com/repos/bscarlet/llvm-general/issues/122","labels_url":"https://api.github.com/repos/bscarlet/llvm-general/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/bscarlet/llvm-general/issues/122/comments","events_url":"https://api.github.com/repos/bscarlet/llvm-general/issues/122/events","html_url":"https://github.com/bscarlet/llvm-general/issues/122","id":51935053,"number":122,"title":"llvm-general doesn't build with cabal>= 1.21","user":{"login":"cartazio","id":4290,"avatar_url":"https://avatars.githubusercontent.com/u/4290?v=3","gravatar_id":"","url":"https://api.github.com/users/cartazio","html_url":"https://github.com/cartazio","followers_url":"https://api.github.com/users/cartazio/followers","following_url":"https://api.github.com/users/cartazio/following{/other_user}","gists_url":"https://api.github.com/users/cartazio/gists{/gist_id}","starred_url":"https://api.github.com/users/cartazio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cartazio/subscriptions","organizations_url":"https://api.github.com/users/cartazio/orgs","repos_url":"https://api.github.com/users/cartazio/repos","events_url":"https://api.github.com/users/cartazio/events{/privacy}","received_events_url":"https://api.github.com/users/cartazio/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2014-12-14T22:48:11Z","updated_at":"2015-01-07T21:18:38Z","closed_at":"2015-01-07T21:08:06Z","body":"1.22 (stable) is due for a release in the next week or three, i'll talk with them to understand what might needs be changed\r\n\r\n\r\n```\r\n1 of 1] Compiling Main             ( dist/setup/setup.hs, dist/setup/Main.o )\r\n\r\ndist/setup/setup.hs:129:7:\r\n    Couldn't match type ‘IO b0’ with ‘TestFlags -> IO ()’\r\n    Expected type: IO () -> IO b0 -> TestFlags -> IO ()\r\n      Actual type: IO () -> IO b0 -> IO b0\r\n    In a stmt of a 'do' block:\r\n      addLLVMToLdLibraryPath (configFlags localBuildInfo)\r\n    In the expression:\r\n      do { addLLVMToLdLibraryPath (configFlags localBuildInfo);\r\n           testHook\r\n             simpleUserHooks\r\n             packageDescription\r\n             localBuildInfo\r\n             userHooks\r\n             testFlags }\r\n    In the ‘testHook’ field of a record\r\n\r\ndist/setup/setup.hs:129:43:\r\n    Couldn't match expected type ‘LocalBuildInfo’\r\n                with actual type ‘PackageDescription’\r\n    In the first argument of ‘configFlags’, namely ‘localBuildInfo’\r\n    In the first argument of ‘addLLVMToLdLibraryPath’, namely\r\n      ‘(configFlags localBuildInfo)’\r\n\r\ndist/setup/setup.hs:130:7:\r\n    Couldn't match expected type ‘IO b0’\r\n                with actual type ‘TestFlags -> IO ()’\r\n    Probable cause: ‘testHook’ is applied to too few arguments\r\n    In a stmt of a 'do' block:\r\n      testHook\r\n        simpleUserHooks\r\n        packageDescription\r\n        localBuildInfo\r\n        userHooks\r\n        testFlags\r\n    In the expression:\r\n      do { addLLVMToLdLibraryPath (configFlags localBuildInfo);\r\n           testHook\r\n             simpleUserHooks\r\n             packageDescription\r\n             localBuildInfo\r\n             userHooks\r\n             testFlags }\r\n```"},"comment":{"url":"https://api.github.com/repos/bscarlet/llvm-general/issues/comments/69093759","html_url":"https://github.com/bscarlet/llvm-general/issues/122#issuecomment-69093759","issue_url":"https://api.github.com/repos/bscarlet/llvm-general/issues/122","id":69093759,"user":{"login":"cartazio","id":4290,"avatar_url":"https://avatars.githubusercontent.com/u/4290?v=3","gravatar_id":"","url":"https://api.github.com/users/cartazio","html_url":"https://github.com/cartazio","followers_url":"https://api.github.com/users/cartazio/followers","following_url":"https://api.github.com/users/cartazio/following{/other_user}","gists_url":"https://api.github.com/users/cartazio/gists{/gist_id}","starred_url":"https://api.github.com/users/cartazio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cartazio/subscriptions","organizations_url":"https://api.github.com/users/cartazio/orgs","repos_url":"https://api.github.com/users/cartazio/repos","events_url":"https://api.github.com/users/cartazio/events{/privacy}","received_events_url":"https://api.github.com/users/cartazio/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T21:18:38Z","updated_at":"2015-01-07T21:18:38Z","body":"oh, that a cute hack with type classes! I've not seen that approach before, clever, and elegant event!"}}