Skip to content

Commit 348524c

Browse files
committed
apply upstream fix
1 parent 9f19efc commit 348524c

File tree

1 file changed

+2
-0
lines changed
  • lib/elixir_sense/core/compiler

1 file changed

+2
-0
lines changed

lib/elixir_sense/core/compiler/map.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ defmodule ElixirSense.Core.Compiler.Map do
2525
{struct_assocs, se} =
2626
Compiler.Macro.escape(Enum.sort(Elixir.Map.to_list(without_keys)), se)
2727

28+
{e_struct_assocs, sa, ea} = Compiler.expand(struct_assocs, se, ee)
29+
2830
{{:%, meta, [e_left, {:%{}, map_meta, struct_assocs ++ assocs}]}, se, ee}
2931

3032
{:"%{}", _map_meta, assocs} ->

0 commit comments

Comments
 (0)