Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

autocomplete not working for io module #27

Closed
byaruhaf opened this issue Apr 18, 2017 · 1 comment · May be fixed by #29
Closed

autocomplete not working for io module #27

byaruhaf opened this issue Apr 18, 2017 · 1 comment · May be fixed by #29

Comments

@byaruhaf
Copy link

hello

This plugin only works for some of the modules like lists but fails for modules like erlang and io

@ghost
Copy link

ghost commented Feb 26, 2018

FWIW, Here's the error being generated after typing o in io:

wrapper.coffee [sm]:24 CLOSED 1, Last Error: ** (FunctionClauseError) no function clause matching in anonymous fn/2 in :elixir_compiler_0.__FILE__/1    
    
    The following arguments were given to anonymous fn/2 in :elixir_compiler_0.__FILE__/1:
    
        # 1
        {:typep, {:prompt, {:type, 44, :union, [{:type, 44, :atom, []}, {:remote_type, 44, [{:atom, 44, :unicode}, {:atom, 44, :chardata}, []]}]}, []}}
    
        # 2
        %{device: {:type, 43, :union, [{:type, 43, :atom, []}, {:type, 43, :pid, []}]}}
    
    ~/.atom/packages/autocomplete-erlang/lib/alchemide/autocompleter/autocomplete.exs:54: anonymous fn/2 in :elixir_compiler_0.__FILE__/1
    (elixir) lib/enum.ex:1899: Enum."-reduce/3-lists^foldl/2-0-"/3
    ~/.atom/packages/autocomplete-erlang/lib/alchemide/autocompleter/autocomplete.exs:54: anonymous fn/3 in :elixir_compiler_0.__FILE__/1
    ~/.atom/packages/autocomplete-erlang/lib/alchemide/autocompleter/autocomplete.exs:69: anonymous fn/5 in :elixir_compiler_0.__FILE__/1
    ~/.atom/packages/autocomplete-erlang/lib/alchemide/autocompleter/autocomplete.exs:113: anonymous fn/5 in :elixir_compiler_0.__FILE__/1
    ~/.atom/packages/autocomplete-erlang/lib/alchemide/autocompleter/autocomplete.exs:118: anonymous fn/3 in :elixir_compiler_0.__FILE__/1

Similar errors are being thrown for other non-working modules.

@ghost ghost mentioned this issue Feb 26, 2018
@byaruhaf byaruhaf closed this as completed Mar 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant