Clojure

string capture mode ignores readLine

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: Release 1.10
  • Fix Version/s: Release 1.10
  • Component/s: None
  • Labels:
  • 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

Activity

Hide
Alex Miller added a comment -

Set fix version

Show
Alex Miller added a comment - Set fix version

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: