{"action":"opened","issue":{"url":"https://api.github.com/repos/rzwitserloot/lombok/issues/1788","repository_url":"https://api.github.com/repos/rzwitserloot/lombok","labels_url":"https://api.github.com/repos/rzwitserloot/lombok/issues/1788/labels{/name}","comments_url":"https://api.github.com/repos/rzwitserloot/lombok/issues/1788/comments","events_url":"https://api.github.com/repos/rzwitserloot/lombok/issues/1788/events","html_url":"https://github.com/rzwitserloot/lombok/issues/1788","id":343167151,"node_id":"MDU6SXNzdWUzNDMxNjcxNTE=","number":1788,"title":"Builder(toBuilder = true) on constructor fails if args don't have matching fields","user":{"login":"chriskessel","id":1497470,"node_id":"MDQ6VXNlcjE0OTc0NzA=","avatar_url":"https://avatars0.githubusercontent.com/u/1497470?v=4","gravatar_id":"","url":"https://api.github.com/users/chriskessel","html_url":"https://github.com/chriskessel","followers_url":"https://api.github.com/users/chriskessel/followers","following_url":"https://api.github.com/users/chriskessel/following{/other_user}","gists_url":"https://api.github.com/users/chriskessel/gists{/gist_id}","starred_url":"https://api.github.com/users/chriskessel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriskessel/subscriptions","organizations_url":"https://api.github.com/users/chriskessel/orgs","repos_url":"https://api.github.com/users/chriskessel/repos","events_url":"https://api.github.com/users/chriskessel/events{/privacy}","received_events_url":"https://api.github.com/users/chriskessel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-20T16:15:46Z","updated_at":"2018-07-20T16:15:46Z","closed_at":null,"author_association":"NONE","body":"See the code below. This fails to compile (Java 8) with the error \"cannot find symbol: symbol: variable b\".\r\n\r\nIf you make toBuilder = false, it compiles.\r\n\r\n```\r\n@Value\r\npublic class LombokBuilderOnConstructor {\r\n\r\n    private final String derived;\r\n\r\n    @Builder(toBuilder = true)\r\n    public LombokBuilderOnConstructor(String a, String b) {\r\n        derived = a + b;\r\n    }\r\n}\r\n```"}}
{"actor":{"display_login":"chriskessel"}}