{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/4522","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/4522/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/4522/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/4522/events","html_url":"https://github.com/dotnet/roslyn/pull/4522","id":100661001,"number":4522,"title":"Remove dependency on particular evaluator implementation","user":{"login":"amcasey","id":10508071,"avatar_url":"https://avatars.githubusercontent.com/u/10508071?v=3","gravatar_id":"","url":"https://api.github.com/users/amcasey","html_url":"https://github.com/amcasey","followers_url":"https://api.github.com/users/amcasey/followers","following_url":"https://api.github.com/users/amcasey/following{/other_user}","gists_url":"https://api.github.com/users/amcasey/gists{/gist_id}","starred_url":"https://api.github.com/users/amcasey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcasey/subscriptions","organizations_url":"https://api.github.com/users/amcasey/orgs","repos_url":"https://api.github.com/users/amcasey/repos","events_url":"https://api.github.com/users/amcasey/events{/privacy}","received_events_url":"https://api.github.com/users/amcasey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-12T23:56:10Z","updated_at":"2015-08-12T23:56:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/4522","html_url":"https://github.com/dotnet/roslyn/pull/4522","diff_url":"https://github.com/dotnet/roslyn/pull/4522.diff","patch_url":"https://github.com/dotnet/roslyn/pull/4522.patch"},"body":"```InteractiveWindow``` tacitly assumed that\r\n```IInteractiveEvaluator.ResetAsync``` would a newline-terminated string\r\nto the current language buffer, making it safe to insert a new prompt at\r\nthe cursor position.  Obviously, this behavior is implementation-specific\r\nand cannot be relied upon.\r\n\r\nInstead, store the uncommitted input and remove the current language\r\nbuffer.  If the evaluator adds input, then a new one will be created for\r\nit.  Otherwise, things will be tidy when the window creates a new prompt\r\nand restores the uncommitted input.\r\n\r\nFixes #4518"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/130485675","html_url":"https://github.com/dotnet/roslyn/pull/4522#issuecomment-130485675","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/4522","id":130485675,"user":{"login":"amcasey","id":10508071,"avatar_url":"https://avatars.githubusercontent.com/u/10508071?v=3","gravatar_id":"","url":"https://api.github.com/users/amcasey","html_url":"https://github.com/amcasey","followers_url":"https://api.github.com/users/amcasey/followers","following_url":"https://api.github.com/users/amcasey/following{/other_user}","gists_url":"https://api.github.com/users/amcasey/gists{/gist_id}","starred_url":"https://api.github.com/users/amcasey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcasey/subscriptions","organizations_url":"https://api.github.com/users/amcasey/orgs","repos_url":"https://api.github.com/users/amcasey/repos","events_url":"https://api.github.com/users/amcasey/events{/privacy}","received_events_url":"https://api.github.com/users/amcasey/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T23:56:39Z","updated_at":"2015-08-12T23:56:39Z","body":"FYI @cston @tmat @KevinH-MS @ManishJayaswal "}}