Put back, fix ()-output optimization
This commit is contained in:
parent
8081096a7f
commit
6f9a460fef
@ -170,6 +170,7 @@ impl Serialize for IndexItemFunctionType {
|
||||
_ => seq.serialize_element(&self.inputs)?,
|
||||
}
|
||||
match &self.output[..] {
|
||||
[] => {}
|
||||
[one] if one.generics.is_none() => seq.serialize_element(one)?,
|
||||
_ => seq.serialize_element(&self.output)?,
|
||||
}
|
||||
|
@ -1910,7 +1910,7 @@ function initSearch(rawSearchIndex) {
|
||||
output = buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA], lowercasePaths);
|
||||
}
|
||||
} else {
|
||||
output = null;
|
||||
output = [];
|
||||
}
|
||||
return {
|
||||
inputs, output,
|
||||
|
Loading…
x
Reference in New Issue
Block a user