{"action":"reopened","issue":{"url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/1247","repository_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck","labels_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/1247/labels{/name}","comments_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/1247/comments","events_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/1247/events","html_url":"https://github.com/rubberduck-vba/Rubberduck/issues/1247","id":143366808,"number":1247,"title":"Parser Error: Open \"x\" for Input As #iFNotAnIfStatement","user":{"login":"dimitrimitropulos","id":15232461,"avatar_url":"https://avatars.githubusercontent.com/u/15232461?v=3","gravatar_id":"","url":"https://api.github.com/users/dimitrimitropulos","html_url":"https://github.com/dimitrimitropulos","followers_url":"https://api.github.com/users/dimitrimitropulos/followers","following_url":"https://api.github.com/users/dimitrimitropulos/following{/other_user}","gists_url":"https://api.github.com/users/dimitrimitropulos/gists{/gist_id}","starred_url":"https://api.github.com/users/dimitrimitropulos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimitrimitropulos/subscriptions","organizations_url":"https://api.github.com/users/dimitrimitropulos/orgs","repos_url":"https://api.github.com/users/dimitrimitropulos/repos","events_url":"https://api.github.com/users/dimitrimitropulos/events{/privacy}","received_events_url":"https://api.github.com/users/dimitrimitropulos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/labels/code-parsing","name":"code-parsing","color":"DDDDDD"},{"url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/labels/preprocessing","name":"preprocessing","color":"cecece"},{"url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/labels/QualityControl","name":"QualityControl","color":"0077AA"},{"url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/labels/status-norepro","name":"status-norepro","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/milestones/20","html_url":"https://github.com/rubberduck-vba/Rubberduck/milestones/Version%202.0","labels_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/milestones/20/labels","id":1063094,"number":20,"title":"Version 2.0","description":"This version will include source control (GitHub) integration, WPF controls in dockable hosts, many more refactorings and inspections, and lots of bug fixes.","creator":{"login":"retailcoder","id":5751684,"avatar_url":"https://avatars.githubusercontent.com/u/5751684?v=3","gravatar_id":"","url":"https://api.github.com/users/retailcoder","html_url":"https://github.com/retailcoder","followers_url":"https://api.github.com/users/retailcoder/followers","following_url":"https://api.github.com/users/retailcoder/following{/other_user}","gists_url":"https://api.github.com/users/retailcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/retailcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retailcoder/subscriptions","organizations_url":"https://api.github.com/users/retailcoder/orgs","repos_url":"https://api.github.com/users/retailcoder/repos","events_url":"https://api.github.com/users/retailcoder/events{/privacy}","received_events_url":"https://api.github.com/users/retailcoder/received_events","type":"User","site_admin":false},"open_issues":73,"closed_issues":194,"state":"open","created_at":"2015-04-11T13:20:05Z","updated_at":"2016-04-15T19:01:17Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-03-24T21:37:43Z","updated_at":"2016-04-15T19:01:17Z","closed_at":null,"body":"The error \"mismatched input 'ile' expecting WS\" happens for the following code:\r\n\r\n```\r\nSub FileTest()\r\n    Open \"TESTFILE\" For Input As #iFile\r\n    Close #iFile\r\nEnd Sub\r\n```\r\n\r\nIf I am right, the `#iF` portion is being interpreted as an `if` statement.  Changing `#iFile` to `#File` works as a temporary workaround.\r\n\r\ncan you guys make a tag for #TheGloriousAndConfusingBugsThatResultFromUsingDefTypes"}}