Closed drug007 closed 2 years ago
I guess this code is wrong because it finds errMsg in names instead of names in errMsg. Also using array to count items is a bad practice.
errMsg
names
array
bool found = any!(s=>errMsg1.canFind(s))(names);
_Originally posted by @drug007 in https://github.com/buggins/dlangui/pull/612#discussion_r879747453_
Wrong bug report on yet-not-merged code.
I guess this code is wrong because it finds
errMsg
innames
instead ofnames
inerrMsg
. Also usingarray
to count items is a bad practice._Originally posted by @drug007 in https://github.com/buggins/dlangui/pull/612#discussion_r879747453_