Skip to content

Commit 0c46377

Browse files
author
runrevali
committed
[[ LC Builder ]] Tweak non-homogeneous sort error message
1 parent 419ad07 commit 0c46377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libscript/src/module-sort.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ extern "C" MC_DLLEXPORT void MCSortExecSortList(MCProperListRef& x_target, bool
4646
MCValueTypeCode t_type;
4747
if (!MCProperListIsHomogeneous(x_target, t_type))
4848
{
49-
MCErrorCreateAndThrow(kMCGenericErrorTypeInfo, "reason", MCSTR("list is not homogeneous"), nil);
49+
MCErrorCreateAndThrow(kMCGenericErrorTypeInfo, "reason", MCSTR("list elements are not all of the same type"), nil);
5050
return;
5151
}
5252

0 commit comments

Comments
 (0)