{"action":"created","issue":{"url":"https://api.github.com/repos/webdaford/smart-contract-tools/issues/14","repository_url":"https://api.github.com/repos/webdaford/smart-contract-tools","labels_url":"https://api.github.com/repos/webdaford/smart-contract-tools/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/webdaford/smart-contract-tools/issues/14/comments","events_url":"https://api.github.com/repos/webdaford/smart-contract-tools/issues/14/events","html_url":"https://github.com/webdaford/smart-contract-tools/pull/14","id":150808802,"number":14,"title":"Fixed ePackage literal problem","user":{"login":"UrsZeidler","id":6352038,"avatar_url":"https://avatars.githubusercontent.com/u/6352038?v=3","gravatar_id":"","url":"https://api.github.com/users/UrsZeidler","html_url":"https://github.com/UrsZeidler","followers_url":"https://api.github.com/users/UrsZeidler/followers","following_url":"https://api.github.com/users/UrsZeidler/following{/other_user}","gists_url":"https://api.github.com/users/UrsZeidler/gists{/gist_id}","starred_url":"https://api.github.com/users/UrsZeidler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UrsZeidler/subscriptions","organizations_url":"https://api.github.com/users/UrsZeidler/orgs","repos_url":"https://api.github.com/users/UrsZeidler/repos","events_url":"https://api.github.com/users/UrsZeidler/events{/privacy}","received_events_url":"https://api.github.com/users/UrsZeidler/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-25T09:58:39Z","updated_at":"2016-04-26T21:36:39Z","closed_at":"2016-04-26T21:36:12Z","pull_request":{"url":"https://api.github.com/repos/webdaford/smart-contract-tools/pulls/14","html_url":"https://github.com/webdaford/smart-contract-tools/pull/14","diff_url":"https://github.com/webdaford/smart-contract-tools/pull/14.diff","patch_url":"https://github.com/webdaford/smart-contract-tools/pull/14.patch"},"body":"I found the basic problem, we are exceeding a  magical number of elements in our grammar model.\r\nSee https://www.eclipse.org/forums/index.php/t/227347/ for details. \r\nThe fix is not to use the Literals interface and access the eClasses and features via eInstance. The only usage is in the SolidityOutlineTreeProvider. So right now it is a good moment to change this.\r\n\r\nThis is Ed Merks statements:\r\n> GenPackage has a \"Literals Interface\" property that's set to false by default for very large models (to avoid exceeding byte code limits). Initialize by Loading it similarly set to true for large models, again, to avoid exceeding byte code limits.\r\n\r\nFrom: https://www.eclipse.org/forums/index.php/t/154047/"},"comment":{"url":"https://api.github.com/repos/webdaford/smart-contract-tools/issues/comments/214894433","html_url":"https://github.com/webdaford/smart-contract-tools/pull/14#issuecomment-214894433","issue_url":"https://api.github.com/repos/webdaford/smart-contract-tools/issues/14","id":214894433,"user":{"login":"webdaford","id":4614622,"avatar_url":"https://avatars.githubusercontent.com/u/4614622?v=3","gravatar_id":"","url":"https://api.github.com/users/webdaford","html_url":"https://github.com/webdaford","followers_url":"https://api.github.com/users/webdaford/followers","following_url":"https://api.github.com/users/webdaford/following{/other_user}","gists_url":"https://api.github.com/users/webdaford/gists{/gist_id}","starred_url":"https://api.github.com/users/webdaford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webdaford/subscriptions","organizations_url":"https://api.github.com/users/webdaford/orgs","repos_url":"https://api.github.com/users/webdaford/repos","events_url":"https://api.github.com/users/webdaford/events{/privacy}","received_events_url":"https://api.github.com/users/webdaford/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T21:36:39Z","updated_at":"2016-04-26T21:36:39Z","body":"That's new one for me.  Nice simple fix. Thanks!"}}