{"action":"created","issue":{"url":"https://api.github.com/repos/coq/coq/issues/8389","repository_url":"https://api.github.com/repos/coq/coq","labels_url":"https://api.github.com/repos/coq/coq/issues/8389/labels{/name}","comments_url":"https://api.github.com/repos/coq/coq/issues/8389/comments","events_url":"https://api.github.com/repos/coq/coq/issues/8389/events","html_url":"https://github.com/coq/coq/issues/8389","id":356317734,"node_id":"MDU6SXNzdWUzNTYzMTc3MzQ=","number":8389,"title":"[ssr] Tactics using ssrpattern defined in a module lose sight of definitions in the same module","user":{"login":"pi8027","id":111003,"node_id":"MDQ6VXNlcjExMTAwMw==","avatar_url":"https://avatars0.githubusercontent.com/u/111003?v=4","gravatar_id":"","url":"https://api.github.com/users/pi8027","html_url":"https://github.com/pi8027","followers_url":"https://api.github.com/users/pi8027/followers","following_url":"https://api.github.com/users/pi8027/following{/other_user}","gists_url":"https://api.github.com/users/pi8027/gists{/gist_id}","starred_url":"https://api.github.com/users/pi8027/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pi8027/subscriptions","organizations_url":"https://api.github.com/users/pi8027/orgs","repos_url":"https://api.github.com/users/pi8027/repos","events_url":"https://api.github.com/users/pi8027/events{/privacy}","received_events_url":"https://api.github.com/users/pi8027/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-02T22:07:15Z","updated_at":"2018-09-03T06:53:02Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"#### Version\r\n\r\n8.8.1 compiled with OCaml 4.07.0\r\n\r\n#### Operating system\r\n\r\nDebian GNU/Linux 9.5 (stretch)\r\n\r\n#### Description of the problem\r\n\r\nPlease check the following example. Rewrite redex selection also has the same problem.\r\n\r\n```coq\r\nRequire Import ssrmatching.\r\n\r\nModule M.\r\nDefinition addn := plus.\r\nLtac tac := ssrpattern (addn _ _).\r\nEnd M.\r\n\r\nGoal forall n m : nat, M.addn n m = n + m.\r\nProof.\r\nintros n m.\r\nFail M.tac.\r\n(*\r\nThe command has indeed failed with message:\r\nIn nested Ltac calls to \"M.tac\", \"ssrpattern (ssrpatternarg)\" and \"ssrpattern\", last call failed.\r\nThe reference addn was not found in the current environment.\r\n*)\r\nAbort.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/coq/coq/issues/comments/418017801","html_url":"https://github.com/coq/coq/issues/8389#issuecomment-418017801","issue_url":"https://api.github.com/repos/coq/coq/issues/8389","id":418017801,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODAxNzgwMQ==","user":{"login":"gares","id":1013846,"node_id":"MDQ6VXNlcjEwMTM4NDY=","avatar_url":"https://avatars2.githubusercontent.com/u/1013846?v=4","gravatar_id":"","url":"https://api.github.com/users/gares","html_url":"https://github.com/gares","followers_url":"https://api.github.com/users/gares/followers","following_url":"https://api.github.com/users/gares/following{/other_user}","gists_url":"https://api.github.com/users/gares/gists{/gist_id}","starred_url":"https://api.github.com/users/gares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gares/subscriptions","organizations_url":"https://api.github.com/users/gares/orgs","repos_url":"https://api.github.com/users/gares/repos","events_url":"https://api.github.com/users/gares/events{/privacy}","received_events_url":"https://api.github.com/users/gares/received_events","type":"User","site_admin":false},"created_at":"2018-09-03T06:53:02Z","updated_at":"2018-09-03T06:53:02Z","author_association":"MEMBER","body":"Duplicate of #6687"}}
{"actor":{"display_login":"gares"}}