correct suggestion order also in body of lambda function
This commit is contained in:
parent
1ff4b181ff
commit
24689b3783
7 changed files with 24 additions and 15 deletions
|
|
@ -183,7 +183,7 @@ export function Editor({state, setState, onCancel, suggestionPriority}: EditorPr
|
|||
}
|
||||
}
|
||||
const resolved = evalEditorBlock(state, env);
|
||||
return <span className={"editor" + ((resolved.kind==="error") ? " error" : "")}>
|
||||
return <span className={"editor" + ((resolved.kind!=="value") ? " "+resolved.kind : "")}>
|
||||
{renderBlock()}
|
||||
<div className="typeSignature">
|
||||
:: <Type type={getType(resolved)} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue