DrGPolygonRegularBuilder: reset: all instance variables are reset to 'value'

Bug #1260750 reported by Matthieu Baerts
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo
Fix Released
Low
Unassigned

Bug Description

Hello,

When analysing DrGeo's code for a course, we may found a possible bug:

  DrGPolygonRegularBuilder methodsFor: ’updating’
    reset
    super reset.
    center := pointA := value

Maybe we didn't understand why but we think there is a little mistake, all these instance variables should be set to 'nil'. The last line should be:

    center := pointA := value := nil

Have a nice day,

Changed in drgeo:
importance: Undecided → High
status: New → Confirmed
Changed in drgeo:
importance: High → Low
Changed in drgeo:
milestone: none → 14.07
Changed in drgeo:
status: Confirmed → Fix Committed
Changed in drgeo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.