Edit Sup Issue: issue55

Summary
Issue type Status
Sup version Ruby version
Assigned To Tags (list)
Description
Attachments
  Make a copy

Created on 2010-01-28.08:02:43 by anonymous, last changed by anonymous.

Messages
msg139 (view) Author: anonymous Date: 2010-01-28.08:02:43
Source#current_offset= returns true instead of the set value, causing
Source#done? to blow up on (self.cur_offset ||= start_offset) >= end_offset

The fix is to swap the two lines in Source#current_offset= so that it returns
the value:

  def cur_offset= o
    @dirty = true
    @cur_offset = o
  end

As it is in 0.10.2 it returns the value for @dirty instead
History
Date User Action Args
2010-04-14 05:01:06anonymoussetfiles: - exception-log.txt
2010-01-28 08:02:43anonymouscreate