<i>lsearch -sorted -inline -subindices incorrect result</i> status still Open with 3 other changes
by
.
D 2024-11-18T17:56:53.379
J icomment <blockquote>\sAnd\sit\swould\sbreak\sa\suse\scase\sI\soften\suse\s;-(\s</blockquote>\r\n\r\nWell,\sit'd\snot\s(directly):\syou\sjust\snot\sneed\sto\suse\s-subindices\stogether\swith\s-inline\s(see\sexample\sat\send),\sit\swas\snever\santicipated\sto\suse\sit\sin\sthis\sway\s(since\sthe\soption\s-subindices\swas\sonly\sconsidered\swithout\s-inline),\sso\sone\scan\sconsider\sit\sas\sa\sregression,\sbut\srather\sit\sis\sconsistent\snow\sand\sit\swas\sjust\snever\sdocumented\sand\srather\sunexpected\spreviously.\r\n\r\nNow\ssince\s-stride\sand\s-subindices\s(with\s-inline)\sis\sconsidered\sto\sbe\sdocumented\s(and\sTIPed)\sbehaviour,\sit\salso\saffected\s-inline\swithout\s-stride.\r\n\r\nI\sguess\sit\sis\sexpected\sbehaviour\snow\s(and\sbetter\snow),\sbut\sneeds\sto\sbe\sfixed\sin\sany\scase\s(to\sreturn\scorrect\ssub-element).\r\n\r\nI'll\sfix\sit\ssoon...\r\n\r\nBack\sto\syour\sparticular\sexample,\syou\shave\sto\suse\sit\ssimply\swithout\s-subindices\s(since\sit\swas\sand\sis\sa\sbit\sunexpected):\r\n\r\n```diff\r\n-\sset\shelp\s[lindex\s[lsearch\s-index\s0\s-inline\s-subindices\s$helplist\s$switch]\s1]\r\n+\sset\shelp\s[lindex\s[lsearch\s-index\s0\s-inline\s$helplist\s$switch]\s1]\r\n```\r\nOf\scourse\sthis\swill\sbelong\sto\sthe\smigration\snotes\stoo.
J login sebres
J mimetype text/x-markdown
K bc4ac0dd5f4c87677ea45fb5b480894630e3c5fb
U sebres
Z cf46709f7fa12f8ec22e37c91cec4d6b