{"action":"created","issue":{"url":"https://api.github.com/repos/wren-lang/wren/issues/302","repository_url":"https://api.github.com/repos/wren-lang/wren","labels_url":"https://api.github.com/repos/wren-lang/wren/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/wren-lang/wren/issues/302/comments","events_url":"https://api.github.com/repos/wren-lang/wren/issues/302/events","html_url":"https://github.com/wren-lang/wren/pull/302","id":107343794,"node_id":"MDExOlB1bGxSZXF1ZXN0NDU0Nzk4MzU=","number":302,"title":"Allow empty method names","user":{"login":"lluchs","id":516527,"node_id":"MDQ6VXNlcjUxNjUyNw==","avatar_url":"https://avatars3.githubusercontent.com/u/516527?v=4","gravatar_id":"","url":"https://api.github.com/users/lluchs","html_url":"https://github.com/lluchs","followers_url":"https://api.github.com/users/lluchs/followers","following_url":"https://api.github.com/users/lluchs/following{/other_user}","gists_url":"https://api.github.com/users/lluchs/gists{/gist_id}","starred_url":"https://api.github.com/users/lluchs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lluchs/subscriptions","organizations_url":"https://api.github.com/users/lluchs/orgs","repos_url":"https://api.github.com/users/lluchs/repos","events_url":"https://api.github.com/users/lluchs/events{/privacy}","received_events_url":"https://api.github.com/users/lluchs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-09-19T16:44:07Z","updated_at":"2019-09-18T05:40:21Z","closed_at":"2019-09-18T05:40:21Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/wren-lang/wren/pulls/302","html_url":"https://github.com/wren-lang/wren/pull/302","diff_url":"https://github.com/wren-lang/wren/pull/302.diff","patch_url":"https://github.com/wren-lang/wren/pull/302.patch"},"body":"This is a proposal to get a nicer function call syntax into wren. It is inspired by Elixir and turned out to be pretty easy to implement.\n\nWith this pull request, it's possible to define methods like this:\n\n``` dart\nclass EmptyMethodName {\n  construct new() {}\n  () {\n    System.print(\"Hello World\")\n  }\n\n  (a) {\n    System.print(a)\n  }\n}\n```\n\n...and then call them like this:\n\n``` dart\nvar fn = EmptyMethodName.new()\nfn.()\nfn.(\"foo\")\n```\n\nThe additional dot avoids ambiguities with getters:\n\n``` dart\nclass test {\n  construct new() {}\n  fn { Fn.new { System.print(\"ok\") } }\n}\ntest.new().fn.()\n```\n"},"comment":{"url":"https://api.github.com/repos/wren-lang/wren/issues/comments/532527214","html_url":"https://github.com/wren-lang/wren/pull/302#issuecomment-532527214","issue_url":"https://api.github.com/repos/wren-lang/wren/issues/302","id":532527214,"node_id":"MDEyOklzc3VlQ29tbWVudDUzMjUyNzIxNA==","user":{"login":"underscorediscovery","id":236374,"node_id":"MDQ6VXNlcjIzNjM3NA==","avatar_url":"https://avatars1.githubusercontent.com/u/236374?v=4","gravatar_id":"","url":"https://api.github.com/users/underscorediscovery","html_url":"https://github.com/underscorediscovery","followers_url":"https://api.github.com/users/underscorediscovery/followers","following_url":"https://api.github.com/users/underscorediscovery/following{/other_user}","gists_url":"https://api.github.com/users/underscorediscovery/gists{/gist_id}","starred_url":"https://api.github.com/users/underscorediscovery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underscorediscovery/subscriptions","organizations_url":"https://api.github.com/users/underscorediscovery/orgs","repos_url":"https://api.github.com/users/underscorediscovery/repos","events_url":"https://api.github.com/users/underscorediscovery/events{/privacy}","received_events_url":"https://api.github.com/users/underscorediscovery/received_events","type":"User","site_admin":false},"created_at":"2019-09-18T05:40:21Z","updated_at":"2019-09-18T05:40:21Z","author_association":"MEMBER","body":"This pull seems to be out of the loop with the latest Wren, since .call exists and is in use, so I'm gonna close this."}}
{"actor":{"display_login":"underscorediscovery"}}