{"action":"closed","issue":{"url":"https://api.github.com/repos/haskell/cabal/issues/3563","repository_url":"https://api.github.com/repos/haskell/cabal","labels_url":"https://api.github.com/repos/haskell/cabal/issues/3563/labels{/name}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/3563/comments","events_url":"https://api.github.com/repos/haskell/cabal/issues/3563/events","html_url":"https://github.com/haskell/cabal/issues/3563","id":165825131,"number":3563,"title":"Wrong warning when using `--enable-tests`","user":{"login":"asr","id":635804,"avatar_url":"https://avatars.githubusercontent.com/u/635804?v=3","gravatar_id":"","url":"https://api.github.com/users/asr","html_url":"https://github.com/asr","followers_url":"https://api.github.com/users/asr/followers","following_url":"https://api.github.com/users/asr/following{/other_user}","gists_url":"https://api.github.com/users/asr/gists{/gist_id}","starred_url":"https://api.github.com/users/asr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asr/subscriptions","organizations_url":"https://api.github.com/users/asr/orgs","repos_url":"https://api.github.com/users/asr/repos","events_url":"https://api.github.com/users/asr/events{/privacy}","received_events_url":"https://api.github.com/users/asr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-15T16:15:55Z","updated_at":"2016-07-15T20:48:54Z","closed_at":"2016-07-15T20:48:54Z","body":"Using the files below I got the following behaviour:\r\n\r\n```\r\n$ cabal install --enable-tests\r\n...\r\n$ cabal install --enable-tests\r\n...\r\nFoo-0.1.0.0 *test (reinstall)\r\nWarning: Note that reinstalls are always dangerous. Continuing anyway...\r\n```\r\n\r\nWhy I got the above warning (and the `Foo-0.1.0.0 *test (reinstall)` message) if I'm not reinstalling anything?\r\n\r\nFiles: [Foo.cabal.txt](https://github.com/haskell/cabal/files/366411/Foo.cabal.txt), [Foo.hs.txt](https://github.com/haskell/cabal/files/366412/Foo.hs.txt) and [Test.hs.txt](https://github.com/haskell/cabal/files/366413/Test.hs.txt).\r\n\r\nCabal and GHC versions:\r\n```\r\n$ caball --version\r\ncabal-install version 1.24.0.0\r\ncompiled using version 1.24.0.0 of the Cabal library\r\n\r\n$ ghc --numeric-version\r\n8.0.1\r\n```\r\n"}}
{"actor":{"display_login":"asr"}}