[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Hello.

This behavior is somewhat annoying:

;"".index("blah")  
! => Origin is beyond the range of the string.
!    Thrown by stridx
!    ~range: $string.index() line 3
!    ~methoderr: $user_bruce.tmp_eval_945558415() line 5
!    ~methoderr: $user_bruce<$programmer>.evaluate() line 25
[ seconds: 0.000082; operations: 3 ]

I understand why it happens, but it requires special-casing code that
shouldn't be required.

 - Bruce