mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 16:44:33 +00:00
stop builtin crash
This commit is contained in:
parent
3027fc2284
commit
ae27682de7
3 changed files with 22 additions and 12 deletions
|
@ -241,6 +241,7 @@ impl AnalyzedDocument {
|
|||
.map(|a| a.chars().nth(0).unwrap().is_uppercase())
|
||||
.unwrap_or(false);
|
||||
if is_module_completion {
|
||||
//TODO: this doesn't work with builtins for some reason
|
||||
Some(get_upper_case_completion_items(
|
||||
position,
|
||||
symbol_prefix,
|
||||
|
@ -283,6 +284,7 @@ impl AnalyzedDocument {
|
|||
&mut subs.clone(),
|
||||
module_id,
|
||||
interns,
|
||||
exposed_imports,
|
||||
);
|
||||
Some(completions)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue