when sorting suggestions, not only function and input type are matched, but also output type (=input of surrounding function)

This commit is contained in:
Joeri Exelmans 2025-05-15 10:09:22 +02:00
parent d3138e6617
commit ea8c015eff
5 changed files with 132 additions and 55 deletions

View file

@ -62,7 +62,7 @@ export function LetInBlock({state, setState}: LetInBlockProps) {
<Editor
state={value}
setState={setValue}
filter={() => true}
suggestionPriority={() => 0}
onCancel={() => {}}
/>
&nbsp;<span className="keyword">in</span>
@ -72,7 +72,7 @@ export function LetInBlock({state, setState}: LetInBlockProps) {
<Editor
state={inner}
setState={setInner}
filter={() => true}
suggestionPriority={() => 0}
onCancel={() => {}}
/>
</EnvContext>