Opened 7 years ago

Closed 7 years ago

#324 closed defect (fixed)

Index function fails

Reported by: Maxim Reznik Owned by:
Priority: major Milestone: 0.6.0
Component: Matreshka - League Version:
Keywords: Index Cc:

Description

Testcase:

with League.Strings;

procedure Test is

   X : constant League.Strings.Universal_String
     := League.Strings.To_Universal_String ("{compilation_unit.full_name}");

begin
   if X.Index ('}') = 0 then
      raise Program_Error;
   end if;
end Test;

Change History (3)

comment:1 by vadim.godunko, 7 years ago

In 4105:

Fix computation of tail mask for Index operations, like was fixed for
Last_Index operations.

Refs #324.

comment:2 by vadim.godunko, 7 years ago

In 4106:

Add automates test.

Refs #324.

comment:3 by vadim.godunko, 7 years ago

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