{"action":"created","issue":{"url":"https://api.github.com/repos/Jebbs/DSFML/issues/227","repository_url":"https://api.github.com/repos/Jebbs/DSFML","labels_url":"https://api.github.com/repos/Jebbs/DSFML/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/Jebbs/DSFML/issues/227/comments","events_url":"https://api.github.com/repos/Jebbs/DSFML/issues/227/events","html_url":"https://github.com/Jebbs/DSFML/issues/227","id":153701709,"number":227,"title":"Error: static variable Default cannot be read at compile time","user":{"login":"captkirk88","id":6296457,"avatar_url":"https://avatars.githubusercontent.com/u/6296457?v=3","gravatar_id":"","url":"https://api.github.com/users/captkirk88","html_url":"https://github.com/captkirk88","followers_url":"https://api.github.com/users/captkirk88/followers","following_url":"https://api.github.com/users/captkirk88/following{/other_user}","gists_url":"https://api.github.com/users/captkirk88/gists{/gist_id}","starred_url":"https://api.github.com/users/captkirk88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/captkirk88/subscriptions","organizations_url":"https://api.github.com/users/captkirk88/orgs","repos_url":"https://api.github.com/users/captkirk88/repos","events_url":"https://api.github.com/users/captkirk88/events{/privacy}","received_events_url":"https://api.github.com/users/captkirk88/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-09T04:32:55Z","updated_at":"2016-05-24T19:13:37Z","closed_at":null,"body":"Entire error is\r\n> dsfml-master\\dsfml\\src\\dsfml\\window\\window.d(95,120): Error: static variable Default cannot be read at compile time\r\n\r\nIn the constructor for the Window class\r\n```rust\r\nthis(T)(VideoMode mode, immutable(T)[] title, Style style = Style.DefaultStyle, ref const(ContextSettings) settings = ContextSettings.Default)\r\n```\r\n**ContextSettings.Default** is the variable that cannot be read at compile time.\r\n\r\nFirst time I have encountered this error.  No other packages have that error.\r\nThank you."},"comment":{"url":"https://api.github.com/repos/Jebbs/DSFML/issues/comments/221373571","html_url":"https://github.com/Jebbs/DSFML/issues/227#issuecomment-221373571","issue_url":"https://api.github.com/repos/Jebbs/DSFML/issues/227","id":221373571,"user":{"login":"Jebbs","id":2173909,"avatar_url":"https://avatars.githubusercontent.com/u/2173909?v=3","gravatar_id":"","url":"https://api.github.com/users/Jebbs","html_url":"https://github.com/Jebbs","followers_url":"https://api.github.com/users/Jebbs/followers","following_url":"https://api.github.com/users/Jebbs/following{/other_user}","gists_url":"https://api.github.com/users/Jebbs/gists{/gist_id}","starred_url":"https://api.github.com/users/Jebbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jebbs/subscriptions","organizations_url":"https://api.github.com/users/Jebbs/orgs","repos_url":"https://api.github.com/users/Jebbs/repos","events_url":"https://api.github.com/users/Jebbs/events{/privacy}","received_events_url":"https://api.github.com/users/Jebbs/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T19:13:37Z","updated_at":"2016-05-24T19:13:37Z","body":"Not sure about error messages, but I was planning on having all/most structs to be initialized lazily. That would fix this problem at least.\n-------- Original message --------From: Nea Gix <notifications@github.com> Date: 5/24/16  11:09 AM  (GMT-08:00) To: Jebbs/DSFML <DSFML@noreply.github.com> Cc: Jeremy DeHaan <dehaan.jeremiah@gmail.com>, Mention <mention@noreply.github.com> Subject: Re: [Jebbs/DSFML] Error: static variable Default cannot be read at\n  compile time (#227) \n@Jebbs alright, so that's the problem. any idea if in D we can generate a better error when this happens?\n\n—\nYou are receiving this because you were mentioned.\nReply to this email directly or view it on GitHub\n\n\n  \n  \n\n\n\n"}}
{"actor":{"display_login":"Jebbs"}}