{"action":"opened","issue":{"url":"https://api.github.com/repos/cloudRoutine/issueTestRepo/issues/6","repository_url":"https://api.github.com/repos/cloudRoutine/issueTestRepo","labels_url":"https://api.github.com/repos/cloudRoutine/issueTestRepo/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/cloudRoutine/issueTestRepo/issues/6/comments","events_url":"https://api.github.com/repos/cloudRoutine/issueTestRepo/issues/6/events","html_url":"https://github.com/cloudRoutine/issueTestRepo/issues/6","id":182077783,"number":6,"title":"Lift parameter names from the callee","user":{"login":"cloudRoutine","id":680051,"avatar_url":"https://avatars.githubusercontent.com/u/680051?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudRoutine","html_url":"https://github.com/cloudRoutine","followers_url":"https://api.github.com/users/cloudRoutine/followers","following_url":"https://api.github.com/users/cloudRoutine/following{/other_user}","gists_url":"https://api.github.com/users/cloudRoutine/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudRoutine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudRoutine/subscriptions","organizations_url":"https://api.github.com/users/cloudRoutine/orgs","repos_url":"https://api.github.com/users/cloudRoutine/repos","events_url":"https://api.github.com/users/cloudRoutine/events{/privacy}","received_events_url":"https://api.github.com/users/cloudRoutine/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cloudRoutine/issueTestRepo/labels/declined","name":"declined","color":"171819"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-10T18:05:22Z","updated_at":"2016-10-10T18:05:22Z","closed_at":null,"body":"# Idea 10617357: Lift parameter names from the callee #\n\n## Status : declined\n\n## Submitted by Brandon D'Imperio on 11/9/2015 12:00:00 AM\n\n## 6 votes\n\nif I have a method with parameters, and close one of the params with another method call, I lose all parameter names unless I copy and paste them:\r\n```\r\nlet internal save connection apptId apptPatientId apptPatientInfoId apptProviderScheduledId apptFacilityId apptStartTime apptEndTime apptTypeId apptStatus apptBillingStage apptLoS apptCheckInFlag apptCheckInTime apptCheckOutTime apptForeignEhrId apptAccidentRelated apptAccidentId apptAccidentDate apptAccidentState presentingCondition notesToBiller isChecked apptPrimaryGuarantorType admitStatus (admitFacilityId:int Nullable) referralPcp =\r\nlet admitStatus = if String.IsNullOrEmpty(admitStatus) then null else admitStatus\r\ngetScalar connection false (fun db -> db.UspAppointmentsInsUpd(apptId, apptPatientId, apptPatientInfoId, apptProviderScheduledId, apptFacilityId, apptStartTime, apptEndTime, apptTypeId, apptStatus, apptBillingStage, apptLoS, apptCheckInFlag, apptCheckInTime, apptCheckOutTime, apptForeignEhrId, apptAccidentRelated, apptAccidentId, apptAccidentDate, apptAccidentState, presentingCondition, notesToBiller, isChecked, apptPrimaryGuarantorType,admitStatus=admitStatus,admitFacilityId=admitFacilityId,referralPcp=referralPcp))\r\n```\r\nthen want to close the first parameter with\r\n```\r\nlet SaveConn con = save (SqlConn.Conn con)\r\n```\r\nI lose all the remaining parameter names on the tooltip.\r\nInstead I have to do the following\r\n```\r\nlet Save apptId apptPatientId apptPatientInfoId apptProviderScheduledId apptFacilityId apptStartTime apptEndTime apptTypeId apptStatus apptBillingStage apptLoS apptCheckInFlag apptCheckInTime apptCheckOutTime apptForeignEhrId apptAccidentRelated apptAccidentId apptAccidentDate apptAccidentState presentingCondition notesToBiller isChecked apptPrimaryGuarantorType admitStatus admitFacilityId referralPcp connString =\r\nsave (ConnectionString connString) apptId apptPatientId apptPatientInfoId apptProviderScheduledId apptFacilityId apptStartTime apptEndTime apptTypeId apptStatus apptBillingStage apptLoS apptCheckInFlag apptCheckInTime apptCheckOutTime apptForeignEhrId apptAccidentRelated apptAccidentId apptAccidentDate apptAccidentState presentingCondition notesToBiller isChecked apptPrimaryGuarantorType admitStatus admitFacilityId referralPcp\r\n```\r\nMy suggestion is to lift the remaining parameters needed to finish the method call from the callee"}}
{"actor":{"display_login":"cloudRoutine"}}