Opened 7 years ago
Closed 7 years ago
#4705 closed defect (fixed)
Handle indexed assignment of string arrays
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | normal | Milestone: | 1.13.0 |
Component: | Code Generation | Version: | |
Keywords: | Cc: |
Description
orderedNames[nDirectories+1:nEntries] := Strings.sort(orderedNames[nDirectories+1:nEntries], caseSensitive=false);
Fails with:
ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.o ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:344:33: error: passing 'string_array' (aka 'struct base_array_s') to parameter of incompatible type 'const string_array_t *' (aka 'const struct base_array_s *') indexed_assign_string_array(omc_Modelica_Utilities_Strings_sort(threadData, tmp8, 0), &_orderedNames, &tmp14);
Change History (2)
comment:1 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
comment:2 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in https://github.com/OpenModelica/OMCompiler/pull/2102