<< Back to previous view

[CLJ-2313] string capture mode ignores readLine Created: 19/Jan/18  Updated: 19/Jan/18  Resolved: 19/Jan/18

Status: Closed
Project: Clojure
Component/s: None
Affects Version/s: Release 1.10
Fix Version/s: Release 1.10

Type: Defect Priority: Major
Reporter: Nicola Mometto Assignee: Unassigned
Resolution: Completed Votes: 0
Labels: reader

Attachments: Text File 0001-CLJ-2313-fix-string-capture-in-readLine.patch    
Patch: Code
Approval: Ok

 Description   

Before patch:

user=> (.captureString *in*)
nil
user=> 1 ;2 3 4
1
user=> 5 6 7
5
6
7
user=> (.getString *in*)
"1 ;25 6 7\n(.getString *in*)\n"

(Note how everything after the first character after a comment gets ignored, until a newline)

After patch:

user=> (.captureString *in*)
nil
user=> 1 ;2 3 4
1
user=> 5 6 7
5
6
7
user=> (.getString *in*)
"1 ;2 3 4\n5 6 7\n(.getString *in*)\n"

Patch: 0001-CLJ-2313-fix-string-capture-in-readLine.patch



 Comments   
Comment by Nicola Mometto [ 19/Jan/18 9:17 AM ]

Committed by Rich: https://github.com/clojure/clojure/commit/76cb5cfdd446db69700c7c619c738a4ef2026947

Comment by Alex Miller [ 19/Jan/18 9:21 AM ]

Set fix version





Generated at Sun Jan 21 01:09:28 CST 2018 using JIRA 4.4#649-r158309.