{"action":"closed","issue":{"url":"https://api.github.com/repos/gpuweb/WHLSL/issues/86","repository_url":"https://api.github.com/repos/gpuweb/WHLSL","labels_url":"https://api.github.com/repos/gpuweb/WHLSL/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/gpuweb/WHLSL/issues/86/comments","events_url":"https://api.github.com/repos/gpuweb/WHLSL/issues/86/events","html_url":"https://github.com/gpuweb/WHLSL/issues/86","id":369846815,"node_id":"MDU6SXNzdWUzNjk4NDY4MTU=","number":86,"title":"Generate built-in functions \"as-if\" they were there the whole time","user":{"login":"litherum","id":918903,"node_id":"MDQ6VXNlcjkxODkwMw==","avatar_url":"https://avatars0.githubusercontent.com/u/918903?v=4","gravatar_id":"","url":"https://api.github.com/users/litherum","html_url":"https://github.com/litherum","followers_url":"https://api.github.com/users/litherum/followers","following_url":"https://api.github.com/users/litherum/following{/other_user}","gists_url":"https://api.github.com/users/litherum/gists{/gist_id}","starred_url":"https://api.github.com/users/litherum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/litherum/subscriptions","organizations_url":"https://api.github.com/users/litherum/orgs","repos_url":"https://api.github.com/users/litherum/repos","events_url":"https://api.github.com/users/litherum/events{/privacy}","received_events_url":"https://api.github.com/users/litherum/received_events","type":"User","site_admin":false},"labels":[{"id":1139950529,"node_id":"MDU6TGFiZWwxMTM5OTUwNTI5","url":"https://api.github.com/repos/gpuweb/WHLSL/labels/Implementation","name":"Implementation","color":"f9d0c4","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-13T22:19:39Z","updated_at":"2018-12-18T03:21:22Z","closed_at":"2018-12-18T03:21:22Z","author_association":"CONTRIBUTOR","body":"Migrated from https://bugs.webkit.org/show_bug.cgi?id=189015:\n\nAt 2018-08-27T22:26:00Z, mmaxfield@apple.com wrote:\nNow that we've removed generics, we need to generate some functions at compile time. For example, operator.length of an int[10]. There is no way of describing this generically in the standard library, so we do it at compile time.\n\nThese newly-generated functions need to be created inside the type checker, because that's the only place which the type of every expression in the program. However, this is halfway through compilation. We need to make sure these newly-generated functions don't have any observable difference than regular functions in the standard library."}}
{"actor":{"display_login":"litherum"}}