Skip to content

Commit 52670c2

Browse files
committed
remove last references to imports
1 parent 314e77f commit 52670c2

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

lib/elixir_sense/core/metadata_builder.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ defmodule ElixirSense.Core.MetadataBuilder do
7070
| attributes: [],
7171
scope_attributes: [],
7272
aliases: [],
73-
imports: [],
7473
requires: [],
74+
functions: [],
75+
macros: [],
7576
scope_ids: [],
7677
vars: [],
7778
scope_vars: [],

test/elixir_sense/core/binding_test.exs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1413,8 +1413,7 @@ defmodule ElixirSense.Core.BindingTest do
14131413
|> Map.merge(%{
14141414
variables: [
14151415
%VarInfo{name: :ref, type: {:local_call, :f02, []}}
1416-
],
1417-
imports: [{ElixirSenseExample.FunctionsWithReturnSpec, [except: [{:f02, 0}]]}]
1416+
]
14181417
}),
14191418
{:variable, :ref}
14201419
)
@@ -1447,8 +1446,7 @@ defmodule ElixirSense.Core.BindingTest do
14471446
{:call, {:atom, ElixirSenseExample.FunctionsWithReturnSpec}, :f1, []},
14481447
:abc, []}
14491448
}
1450-
],
1451-
imports: [{ElixirSenseExample.FunctionsWithReturnSpec, []}]
1449+
]
14521450
}),
14531451
{:variable, :ref}
14541452
)
@@ -1467,8 +1465,7 @@ defmodule ElixirSense.Core.BindingTest do
14671465
{:call, {:atom, ElixirSenseExample.FunctionsWithReturnSpec}, :f2, []},
14681466
:abc, []}
14691467
}
1470-
],
1471-
imports: [{ElixirSenseExample.FunctionsWithReturnSpec, []}]
1468+
]
14721469
}),
14731470
{:variable, :ref}
14741471
)
@@ -1487,8 +1484,7 @@ defmodule ElixirSense.Core.BindingTest do
14871484
{:call, {:atom, ElixirSenseExample.FunctionsWithReturnSpec}, :f2, []},
14881485
:cde, []}
14891486
}
1490-
],
1491-
imports: [{ElixirSenseExample.FunctionsWithReturnSpec, []}]
1487+
]
14921488
}),
14931489
{:variable, :ref}
14941490
)

0 commit comments

Comments
 (0)