-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
submodule __MODULE__.Some is actually an external submodule
related to lexical-lsp/lexical#378
- Loading branch information
1 parent
a9ae8bc
commit ab47f47
Showing
6 changed files
with
40 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
test/support/fixtures/metadata_builder/alias/submodule_external_inside.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
defmodule ElixirSenseExample.Fixtures.MetadataBuilder.Alias.AliasSubmoduleExternalInside do | ||
alias Some.Sub | ||
|
||
defmodule Elixir.SubmoduleExternalInside do | ||
@env __ENV__ | ||
def env, do: @env | ||
end | ||
|
||
@env __ENV__ | ||
def env, do: Elixir.SubmoduleExternalInside.env() | ||
end |
9 changes: 9 additions & 0 deletions
9
test/support/fixtures/metadata_builder/alias/submodule_external_special.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
defmodule ElixirSenseExample.Fixtures.MetadataBuilder.Alias.AliasSubmoduleExternalSpecial do | ||
alias Some.Sub | ||
|
||
defmodule __MODULE__.SubmoduleExternal do | ||
end | ||
|
||
@env __ENV__ | ||
def env, do: @env | ||
end |
10 changes: 10 additions & 0 deletions
10
test/support/fixtures/metadata_builder/alias/submodule_external_special_inside.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
defmodule ElixirSenseExample.Fixtures.MetadataBuilder.Alias.AliasSubmoduleExternalSpecialInside do | ||
alias Some.Sub | ||
|
||
defmodule __MODULE__.SubmoduleExternal do | ||
@env __ENV__ | ||
def env, do: @env | ||
end | ||
|
||
def env, do: __MODULE__.SubmoduleExternal.env() | ||
end |