{"action":"opened","issue":{"url":"https://api.github.com/repos/racket/typed-racket/issues/251","labels_url":"https://api.github.com/repos/racket/typed-racket/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/racket/typed-racket/issues/251/comments","events_url":"https://api.github.com/repos/racket/typed-racket/issues/251/events","html_url":"https://github.com/racket/typed-racket/issues/251","id":118041024,"number":251,"title":"Instantiating struct with wrong number of arguments should give an error","user":{"login":"jsmaniac","id":299872,"avatar_url":"https://avatars.githubusercontent.com/u/299872?v=3","gravatar_id":"","url":"https://api.github.com/users/jsmaniac","html_url":"https://github.com/jsmaniac","followers_url":"https://api.github.com/users/jsmaniac/followers","following_url":"https://api.github.com/users/jsmaniac/following{/other_user}","gists_url":"https://api.github.com/users/jsmaniac/gists{/gist_id}","starred_url":"https://api.github.com/users/jsmaniac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsmaniac/subscriptions","organizations_url":"https://api.github.com/users/jsmaniac/orgs","repos_url":"https://api.github.com/users/jsmaniac/repos","events_url":"https://api.github.com/users/jsmaniac/events{/privacy}","received_events_url":"https://api.github.com/users/jsmaniac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-20T13:18:39Z","updated_at":"2015-11-20T13:18:39Z","closed_at":null,"body":"```\r\n#lang typed/racket\r\n(struct (P) T ())\r\n(define-type X (T Number String))\r\n```\r\n\r\nIn the code below, I would expect an error along the lines of `The expected number of arguments for structure type constructor T does not match the given number: expected 1, given 2`, just like the error given for:\r\n\r\n```\r\n#lang typed/racket\r\n(struct (P) T ([field : (T Number String)]))\r\n```"}}