{"action":"created","issue":{"url":"https://api.github.com/repos/flang-compiler/flang/issues/239","repository_url":"https://api.github.com/repos/flang-compiler/flang","labels_url":"https://api.github.com/repos/flang-compiler/flang/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/flang-compiler/flang/issues/239/comments","events_url":"https://api.github.com/repos/flang-compiler/flang/issues/239/events","html_url":"https://github.com/flang-compiler/flang/issues/239","id":260045084,"number":239,"title":"Flang rejects valid empty constructor","user":{"login":"nncarlson","id":7231327,"avatar_url":"https://avatars0.githubusercontent.com/u/7231327?v=4","gravatar_id":"","url":"https://api.github.com/users/nncarlson","html_url":"https://github.com/nncarlson","followers_url":"https://api.github.com/users/nncarlson/followers","following_url":"https://api.github.com/users/nncarlson/following{/other_user}","gists_url":"https://api.github.com/users/nncarlson/gists{/gist_id}","starred_url":"https://api.github.com/users/nncarlson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nncarlson/subscriptions","organizations_url":"https://api.github.com/users/nncarlson/orgs","repos_url":"https://api.github.com/users/nncarlson/repos","events_url":"https://api.github.com/users/nncarlson/events{/privacy}","received_events_url":"https://api.github.com/users/nncarlson/received_events","type":"User","site_admin":false},"labels":[{"id":602394803,"url":"https://api.github.com/repos/flang-compiler/flang/labels/bug","name":"bug","color":"ee0701","default":true},{"id":631416115,"url":"https://api.github.com/repos/flang-compiler/flang/labels/nvidia","name":"nvidia","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-23T23:18:52Z","updated_at":"2018-03-20T01:29:11Z","closed_at":null,"author_association":"NONE","body":"The current version of flang (5.0) rejects this valid code\r\n```fortran\r\nmodule example\r\n  type :: map\r\n    integer, pointer :: first => null()\r\n  end type\r\n  type :: parameter_list\r\n    type(map) :: params = map() ! this is entirely valid\r\n  end type\r\nend module\r\n```\r\nwith this error\r\n```\r\nF90/x86-64 Linux Flang - 1.5 2017-05-01: compilation aborted\r\n$ flang -c flang-bug-20170923b.f90 \r\nF90-F-0155-Empty structure constructor() - type map (flang-bug-20170923b.f90: 12)\r\n```\r\nThis issue is related to the ECP ExaAM project."},"comment":{"url":"https://api.github.com/repos/flang-compiler/flang/issues/comments/374441310","html_url":"https://github.com/flang-compiler/flang/issues/239#issuecomment-374441310","issue_url":"https://api.github.com/repos/flang-compiler/flang/issues/239","id":374441310,"user":{"login":"nncarlson","id":7231327,"avatar_url":"https://avatars0.githubusercontent.com/u/7231327?v=4","gravatar_id":"","url":"https://api.github.com/users/nncarlson","html_url":"https://github.com/nncarlson","followers_url":"https://api.github.com/users/nncarlson/followers","following_url":"https://api.github.com/users/nncarlson/following{/other_user}","gists_url":"https://api.github.com/users/nncarlson/gists{/gist_id}","starred_url":"https://api.github.com/users/nncarlson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nncarlson/subscriptions","organizations_url":"https://api.github.com/users/nncarlson/orgs","repos_url":"https://api.github.com/users/nncarlson/repos","events_url":"https://api.github.com/users/nncarlson/events{/privacy}","received_events_url":"https://api.github.com/users/nncarlson/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T01:29:11Z","updated_at":"2018-03-20T01:29:11Z","author_association":"NONE","body":"@sscalpone this seems to have been fixed along with #240 by c97bf69"}}
{"actor":{"display_login":"nncarlson"}}