wende / autocomplete-elixir

Intelligent Elixir autocompletion provider for Atom autocomplete-plus
MIT License
42 stars 11 forks source link

Elixir Plugin Generates Error for accesing a Module's structure #59

Open G4143 opened 7 years ago

G4143 commented 7 years ago

If I try to access/create the structure Inode from a separate module(separate source file) I get an error from the plugin but Elixir will compile the code without compliant.

defmodule Cont.Expr do

  defmodule Inode do
    defstruct value: 0
  end

end

Error generated by Atom/Elixir plugin: (CompileError) Cont.Expr.Inode.struct/1 is undefined, cannot expand struct Cont.Expr.Inode