when sorting suggestions, not only function and input type are matched, but also output type (=input of surrounding function)
This commit is contained in:
parent
d3138e6617
commit
ea8c015eff
5 changed files with 132 additions and 55 deletions
|
|
@ -62,7 +62,7 @@ export function LetInBlock({state, setState}: LetInBlockProps) {
|
|||
<Editor
|
||||
state={value}
|
||||
setState={setValue}
|
||||
filter={() => true}
|
||||
suggestionPriority={() => 0}
|
||||
onCancel={() => {}}
|
||||
/>
|
||||
<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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue