{"action":"created","issue":{"url":"https://api.github.com/repos/getgauge/gauge/issues/361","repository_url":"https://api.github.com/repos/getgauge/gauge","labels_url":"https://api.github.com/repos/getgauge/gauge/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/getgauge/gauge/issues/361/comments","events_url":"https://api.github.com/repos/getgauge/gauge/issues/361/events","html_url":"https://github.com/getgauge/gauge/issues/361","id":151536227,"number":361,"title":"A parse error in a different file does not allow any refactoring in the current file","user":{"login":"sguptatw","id":6310197,"avatar_url":"https://avatars.githubusercontent.com/u/6310197?v=3","gravatar_id":"","url":"https://api.github.com/users/sguptatw","html_url":"https://github.com/sguptatw","followers_url":"https://api.github.com/users/sguptatw/followers","following_url":"https://api.github.com/users/sguptatw/following{/other_user}","gists_url":"https://api.github.com/users/sguptatw/gists{/gist_id}","starred_url":"https://api.github.com/users/sguptatw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sguptatw/subscriptions","organizations_url":"https://api.github.com/users/sguptatw/orgs","repos_url":"https://api.github.com/users/sguptatw/repos","events_url":"https://api.github.com/users/sguptatw/events{/privacy}","received_events_url":"https://api.github.com/users/sguptatw/received_events","type":"User","site_admin":false},"labels":[{"id":87920151,"url":"https://api.github.com/repos/getgauge/gauge/labels/bug","name":"bug","color":"fc2929","default":true},{"id":363702930,"url":"https://api.github.com/repos/getgauge/gauge/labels/ready%20for%20QA","name":"ready for QA","color":"005b00","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-04-28T02:39:34Z","updated_at":"2016-12-15T09:32:48Z","closed_at":"2016-12-15T09:32:48Z","body":"### Expected behavior\n\nIf the current file has no parse errors it should allow refactoring\n### Actual behavior\n\nA parse error in a different file does not allow any refactoring in the current file\n### Steps to reproduce\n1. Create a spec file\n\n```\nSomething\n=========\n\nwwwwwwww\n--------\n* Say hi to <table:specs/test/email.txt>\n\n```\n1. Create another spec file \n\n```\nSomething\n=========\n\n* All here\n\nwwwwwwww\n--------\n* All here\n```\n1. Give implementation\n\n```\n    @Step(\"Say hi to <table:specs/test/aNewSpec.spec>\")\n    public void implementation4(Object arg0) {\n        System.out.println(arg0);\n    }\n\n    @Step(\"All here\")\n    public void implementation5() {\n    }\n```\n1. Now refactor \"All here\" to \"all here\"\n   it does not allow it.\n### Gauge version\n\n```\nGauge version: 0.4.1.nightly-2016-04-19\n\nPlugins\n-------\nhtml-report (2.1.0)\njava (0.3.4.nightly-2016-04-19)\n```\n"},"comment":{"url":"https://api.github.com/repos/getgauge/gauge/issues/comments/267281053","html_url":"https://github.com/getgauge/gauge/issues/361#issuecomment-267281053","issue_url":"https://api.github.com/repos/getgauge/gauge/issues/361","id":267281053,"user":{"login":"apoorvam","id":8859725,"avatar_url":"https://avatars.githubusercontent.com/u/8859725?v=3","gravatar_id":"","url":"https://api.github.com/users/apoorvam","html_url":"https://github.com/apoorvam","followers_url":"https://api.github.com/users/apoorvam/followers","following_url":"https://api.github.com/users/apoorvam/following{/other_user}","gists_url":"https://api.github.com/users/apoorvam/gists{/gist_id}","starred_url":"https://api.github.com/users/apoorvam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apoorvam/subscriptions","organizations_url":"https://api.github.com/users/apoorvam/orgs","repos_url":"https://api.github.com/users/apoorvam/repos","events_url":"https://api.github.com/users/apoorvam/events{/privacy}","received_events_url":"https://api.github.com/users/apoorvam/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T09:32:47Z","updated_at":"2016-12-15T09:32:47Z","body":"Refactoring will make changes to spec files. If there is a parse error and we change the spec file during refactoring, it can result in unexpected changes. This is expected behavior as of now. We can consider this if there are valid use-cases. Closing this for now."}}
{"actor":{"display_login":"apoorvam"}}