Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit f159b76

Browse files
lochelOpenModelica-Hudson
authored andcommitted
Simplify polymorphic types of function mapAllValue
1 parent d628e4c commit f159b76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Compiler/Util/List.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3040,13 +3040,13 @@ algorithm
30403040
end for;
30413041
end mapListAllValueBool;
30423042

3043-
public function foldAllValue<TI, TO, VT, ArgT1>
3043+
public function foldAllValue<TI, TO, ArgT1>
30443044
"Applies a function to all elements in the lists, and fails if not all
30453045
elements are equal to the given value. This function also takes an extra
30463046
argument that are passed to the mapping function and updated"
30473047
input list<TI> inList;
30483048
input MapFunc inMapFunc;
3049-
input VT inValue;
3049+
input TO inValue;
30503050
input ArgT1 inArg1;
30513051

30523052
partial function MapFunc

0 commit comments

Comments
 (0)