{"action":"opened","issue":{"url":"https://api.github.com/repos/numba/numba/issues/3195","repository_url":"https://api.github.com/repos/numba/numba","labels_url":"https://api.github.com/repos/numba/numba/issues/3195/labels{/name}","comments_url":"https://api.github.com/repos/numba/numba/issues/3195/comments","events_url":"https://api.github.com/repos/numba/numba/issues/3195/events","html_url":"https://github.com/numba/numba/issues/3195","id":347158790,"node_id":"MDU6SXNzdWUzNDcxNTg3OTA=","number":3195,"title":"Problems with support_literals and the Const type","user":{"login":"sklam","id":1929845,"node_id":"MDQ6VXNlcjE5Mjk4NDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1929845?v=4","gravatar_id":"","url":"https://api.github.com/users/sklam","html_url":"https://github.com/sklam","followers_url":"https://api.github.com/users/sklam/followers","following_url":"https://api.github.com/users/sklam/following{/other_user}","gists_url":"https://api.github.com/users/sklam/gists{/gist_id}","starred_url":"https://api.github.com/users/sklam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sklam/subscriptions","organizations_url":"https://api.github.com/users/sklam/orgs","repos_url":"https://api.github.com/users/sklam/repos","events_url":"https://api.github.com/users/sklam/events{/privacy}","received_events_url":"https://api.github.com/users/sklam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-02T20:16:39Z","updated_at":"2018-08-02T20:16:39Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The ability to propagate constness info into the typer and the lowering is added in https://github.com/numba/numba/pull/2482/commits/dfe41e6d7a444cef4c74767c21f959ac3f2e9ddc and later enhanced to be less hacky in https://github.com/numba/numba/pull/2503 by introducing the `support_literals` option in the typing template.  However, the handling of the `Const` type is still not coherent with the handling of other types, causing issue as observed in https://github.com/numba/numba/pull/3162#issuecomment-409429680.  We need to come up with a better way to propagate this constant info through the compiler pipeline."}}
{"actor":{"display_login":"sklam"}}