{"action":"created","issue":{"url":"https://api.github.com/repos/lampepfl/dotty/issues/1681","repository_url":"https://api.github.com/repos/lampepfl/dotty","labels_url":"https://api.github.com/repos/lampepfl/dotty/issues/1681/labels{/name}","comments_url":"https://api.github.com/repos/lampepfl/dotty/issues/1681/comments","events_url":"https://api.github.com/repos/lampepfl/dotty/issues/1681/events","html_url":"https://github.com/lampepfl/dotty/issues/1681","id":187842608,"number":1681,"title":"REPL: uppercase strings have different colors than lowercase","user":{"login":"rethab","id":2222044,"avatar_url":"https://avatars.githubusercontent.com/u/2222044?v=3","gravatar_id":"","url":"https://api.github.com/users/rethab","html_url":"https://github.com/rethab","followers_url":"https://api.github.com/users/rethab/followers","following_url":"https://api.github.com/users/rethab/following{/other_user}","gists_url":"https://api.github.com/users/rethab/gists{/gist_id}","starred_url":"https://api.github.com/users/rethab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rethab/subscriptions","organizations_url":"https://api.github.com/users/rethab/orgs","repos_url":"https://api.github.com/users/rethab/repos","events_url":"https://api.github.com/users/rethab/events{/privacy}","received_events_url":"https://api.github.com/users/rethab/received_events","type":"User","site_admin":false},"labels":[{"id":459356904,"url":"https://api.github.com/repos/lampepfl/dotty/labels/area:repl","name":"area:repl","color":"006b75","default":false},{"id":290472243,"url":"https://api.github.com/repos/lampepfl/dotty/labels/exp:novice","name":"exp:novice","color":"009800","default":false},{"id":21379537,"url":"https://api.github.com/repos/lampepfl/dotty/labels/itype:bug","name":"itype:bug","color":"cc317c","default":false},{"id":86372791,"url":"https://api.github.com/repos/lampepfl/dotty/labels/prio:low","name":"prio:low","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"felixmulder","id":1530049,"avatar_url":"https://avatars.githubusercontent.com/u/1530049?v=3","gravatar_id":"","url":"https://api.github.com/users/felixmulder","html_url":"https://github.com/felixmulder","followers_url":"https://api.github.com/users/felixmulder/followers","following_url":"https://api.github.com/users/felixmulder/following{/other_user}","gists_url":"https://api.github.com/users/felixmulder/gists{/gist_id}","starred_url":"https://api.github.com/users/felixmulder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixmulder/subscriptions","organizations_url":"https://api.github.com/users/felixmulder/orgs","repos_url":"https://api.github.com/users/felixmulder/repos","events_url":"https://api.github.com/users/felixmulder/events{/privacy}","received_events_url":"https://api.github.com/users/felixmulder/received_events","type":"User","site_admin":false},"assignees":[{"login":"felixmulder","id":1530049,"avatar_url":"https://avatars.githubusercontent.com/u/1530049?v=3","gravatar_id":"","url":"https://api.github.com/users/felixmulder","html_url":"https://github.com/felixmulder","followers_url":"https://api.github.com/users/felixmulder/followers","following_url":"https://api.github.com/users/felixmulder/following{/other_user}","gists_url":"https://api.github.com/users/felixmulder/gists{/gist_id}","starred_url":"https://api.github.com/users/felixmulder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixmulder/subscriptions","organizations_url":"https://api.github.com/users/felixmulder/orgs","repos_url":"https://api.github.com/users/felixmulder/repos","events_url":"https://api.github.com/users/felixmulder/events{/privacy}","received_events_url":"https://api.github.com/users/felixmulder/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-11-07T22:04:57Z","updated_at":"2016-11-09T11:02:01Z","closed_at":null,"body":"```scala\r\nscala> \"lowercase\"\r\nres16: String = lowercase\r\nscala> \"UPPERCASE\"\r\nres17: String = UPPERCASE\r\nscala> \"lower UPPER lower\"\r\nres18: String = lower UPPER lower\r\n```\r\n\r\n\r\n![2016-11-07_414x156](https://cloud.githubusercontent.com/assets/2222044/20077830/54f7a2e0-a53e-11e6-8c80-6ef378304276.png)\r\n"},"comment":{"url":"https://api.github.com/repos/lampepfl/dotty/issues/comments/259388390","html_url":"https://github.com/lampepfl/dotty/issues/1681#issuecomment-259388390","issue_url":"https://api.github.com/repos/lampepfl/dotty/issues/1681","id":259388390,"user":{"login":"felixmulder","id":1530049,"avatar_url":"https://avatars.githubusercontent.com/u/1530049?v=3","gravatar_id":"","url":"https://api.github.com/users/felixmulder","html_url":"https://github.com/felixmulder","followers_url":"https://api.github.com/users/felixmulder/followers","following_url":"https://api.github.com/users/felixmulder/following{/other_user}","gists_url":"https://api.github.com/users/felixmulder/gists{/gist_id}","starred_url":"https://api.github.com/users/felixmulder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixmulder/subscriptions","organizations_url":"https://api.github.com/users/felixmulder/orgs","repos_url":"https://api.github.com/users/felixmulder/repos","events_url":"https://api.github.com/users/felixmulder/events{/privacy}","received_events_url":"https://api.github.com/users/felixmulder/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T11:02:01Z","updated_at":"2016-11-09T11:02:01Z","body":"I believe my time is best spent elsewhere at the moment. The issue stems from how we render results. The main culprit is [resultExtractor](https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/repl/CompilingInterpreter.scala#L683), which needs to be changed.\r\n\r\nThis method needs to correctly render strings. But there are a number of issues/questions that will arise when somebody starts to look at this:\r\n\r\n1. Should I just render strings differently?\r\n2. What about higheir kinded types containing strings? `List[String]`?\r\n3. How do I deal with multiline strings? Do I escape newlines there?\r\n\r\nI think the issue needs to clarify these three points before somebody starts working on this. After that I think that it is an excellent entry-level task that could be handled by outside contributors."}}
{"actor":{"display_login":"felixmulder"}}