Opened 8 years ago

Closed 8 years ago

#290 closed defect (fixed)

Universal_String.Replace failure

Reported by: vadim.godunko Owned by: somebody
Priority: major Milestone: 0.5.0
Component: Matreshka - League Version: 0.4.0
Keywords: Cc:

Description

Replace function crash with Constraint_Error when replace string is empty:

raised CONSTRAINT_ERROR : matreshka-internals-strings-operations.adb:344 range check failed

Change History (3)

comment:1 by vadim.godunko, 8 years ago

In [3773]:

Add automated test.

Refs #290.

comment:2 by vadim.godunko, 8 years ago

In [3774]:

Don't attemptto copy empty string.

Refs #290.

comment:3 by vadim.godunko, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.