use unused typevar when encountering unknown value or lambda parameter - type inferencing still not entirely correct
This commit is contained in:
parent
d7a4e210a2
commit
496463bbac
8 changed files with 94 additions and 66 deletions
|
|
@ -38,7 +38,7 @@ interface InputBlockProps extends State2Props<InputBlockState> {
|
|||
}
|
||||
|
||||
const computeSuggestions = (text, env, suggestionPriority: (s: SuggestionType) => number): PrioritizedSuggestionType[] => {
|
||||
const literals = attemptParseLiteral(text);
|
||||
const literals = attemptParseLiteral(text, env);
|
||||
|
||||
const ls: SuggestionType[] = [
|
||||
// literals
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue