You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[REPLCompletions] use less asinine version of listing module imports for completions
The test crashed on my machine, and I noticed the implementation of this
function was entirely nonsense. Fortunately, we already had a more
correct implementation of this function in the REPL docview code that we
could borrow from to fix this.
While here, also filter out macros, since those are rather strange
looking to see appearing in the results. We could alternatively use
`Base.is_valid_identifier`, since the main point here is to print
functions that are accessible in the module by identifier.
```
julia> @eval Base.MainInclude export broken
julia> broken = 2
2
julia> ?(┌ Error: Error in the keymap
│ exception =
│ UndefVarError: `broken` not defined in `Base.MainInclude`
```
0 commit comments