{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/15558","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/15558/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/15558/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/15558/events","html_url":"https://github.com/dart-lang/sdk/issues/15558","id":84561206,"number":15558,"title":"Improve inlining of closure calls in Dart VM","user":{"login":"fsc8000","id":2890421,"avatar_url":"https://avatars.githubusercontent.com/u/2890421?v=3","gravatar_id":"","url":"https://api.github.com/users/fsc8000","html_url":"https://github.com/fsc8000","followers_url":"https://api.github.com/users/fsc8000/followers","following_url":"https://api.github.com/users/fsc8000/following{/other_user}","gists_url":"https://api.github.com/users/fsc8000/gists{/gist_id}","starred_url":"https://api.github.com/users/fsc8000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsc8000/subscriptions","organizations_url":"https://api.github.com/users/fsc8000/orgs","repos_url":"https://api.github.com/users/fsc8000/repos","events_url":"https://api.github.com/users/fsc8000/events{/privacy}","received_events_url":"https://api.github.com/users/fsc8000/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/sdk/labels/area-vm","name":"area-vm","color":"c7def8"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/priority-unassigned","name":"priority-unassigned","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/triaged","name":"triaged","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/type-enhancement","name":"type-enhancement","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2013-12-10T13:35:23Z","updated_at":"2015-12-04T23:30:59Z","closed_at":"2015-12-04T23:30:59Z","body":"When a local function calls another local function like in this example:\n\ntest(a, b) {\n&nbsp;&nbsp;f(x, y) =&gt; x + y;\n&nbsp;&nbsp;g(x, y) =&gt; f(x, y);\n&nbsp;&nbsp;return g(a, b);\n}\n\n\nthe optimizing compiler should be able to inline f into g. As of now, it can't do this yet."}}