Hi!

I was trying to load ConfigurationOfPharo in Core 1.2, so we can (slowly)
get a Dev image.  So It began well, but when it reached AST-Core-lr.84, it
raised up an exception:

"subscript is out of bounds: -1"

It is mainly caused by  CommentReference>>parseTimestampFrom:

Which has the next comment:

"Timestampstrings can be of the form:
        <authorname><date><time>.
        <authorname><date>
        <date><time>
        <date><time><authorname>
        <date><authorname>
        <historical>"

The string timestamp is '<historical>' indeed, but it does the follow check:

^ (aString isEmpty or:[aString = 'historical'])
        ifTrue:[DateAndTime new]
        ifFalse:[  *here comes the error ...*

Shouldn't that check be

^ (aString isEmpty or:[aString = '<historical>'])

??

Cheers,
Guille

Reply via email to