[Pharo-project] Issue 3325 in pharo: SourcedMethodReference bug due to parseTimestampFrom:

pharo at googlecode.com pharo at googlecode.com
Thu Nov 25 18:14:56 CET 2010


Status: Accepted
Owner: Benjamin.VanRyseghem.Pharo

New issue 3325 by Benjamin.VanRyseghem.Pharo: SourcedMethodReference bug  
due to parseTimestampFrom:
http://code.google.com/p/pharo/issues/detail?id=3325

aString = 'tk 1/8/97'

parseTimestampFrom: aString
	"Parse a date-time from a timestamp-string that is extracted from a source  
file. If there is no timestamp, we return a very old time"
	^ aString isEmpty
		ifTrue:[DateAndTime new]
		ifFalse:[(((aString subStrings: ' ') last: 2) joinUsing: Character space)  
asDateAndTime]

It crashes





More information about the Pharo-project mailing list