{"action":"created","issue":{"url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1392","repository_url":"https://api.github.com/repos/elm-lang/elm-compiler","labels_url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1392/labels{/name}","comments_url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1392/comments","events_url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1392/events","html_url":"https://github.com/elm-lang/elm-compiler/issues/1392","id":156065872,"number":1392,"title":"Let allows use of variable before it is properly defined","user":{"login":"Skinney","id":854889,"avatar_url":"https://avatars.githubusercontent.com/u/854889?v=3","gravatar_id":"","url":"https://api.github.com/users/Skinney","html_url":"https://github.com/Skinney","followers_url":"https://api.github.com/users/Skinney/followers","following_url":"https://api.github.com/users/Skinney/following{/other_user}","gists_url":"https://api.github.com/users/Skinney/gists{/gist_id}","starred_url":"https://api.github.com/users/Skinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skinney/subscriptions","organizations_url":"https://api.github.com/users/Skinney/orgs","repos_url":"https://api.github.com/users/Skinney/repos","events_url":"https://api.github.com/users/Skinney/events{/privacy}","received_events_url":"https://api.github.com/users/Skinney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-20T23:00:13Z","updated_at":"2016-05-21T02:00:01Z","closed_at":null,"body":"Minimal test case which should not compile.\r\n\r\n```elm\r\nimport Html exposing (text)\r\n\r\nmain =\r\n  let\r\n    h1 = h1 + 7\r\n  in\r\n    text \"Hello, World!\"\r\n```\r\n\r\nElm allows you to use `h1` before it has been defined. In the resulting Javascript, `h1` has the value `undefined`. `undefined` + 7 results in `NaN` which, while valid javascript, really shouldn't be a state your program should be allowed to get into when you're writing Elm."},"comment":{"url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/comments/220752680","html_url":"https://github.com/elm-lang/elm-compiler/issues/1392#issuecomment-220752680","issue_url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1392","id":220752680,"user":{"login":"mgold","id":1191970,"avatar_url":"https://avatars.githubusercontent.com/u/1191970?v=3","gravatar_id":"","url":"https://api.github.com/users/mgold","html_url":"https://github.com/mgold","followers_url":"https://api.github.com/users/mgold/followers","following_url":"https://api.github.com/users/mgold/following{/other_user}","gists_url":"https://api.github.com/users/mgold/gists{/gist_id}","starred_url":"https://api.github.com/users/mgold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgold/subscriptions","organizations_url":"https://api.github.com/users/mgold/orgs","repos_url":"https://api.github.com/users/mgold/repos","events_url":"https://api.github.com/users/mgold/events{/privacy}","received_events_url":"https://api.github.com/users/mgold/received_events","type":"User","site_admin":false},"created_at":"2016-05-21T02:00:01Z","updated_at":"2016-05-21T02:00:01Z","body":"Yet another dupe of #873."}}
{"actor":{"display_login":"mgold"}}