Skip to content

Commit

Permalink
Merge pull request #20 from curiosum-dev/19-cross-references-between-…
Browse files Browse the repository at this point in the history
…types

Remove alias_reference tracer
  • Loading branch information
szsoppa authored Jun 5, 2023
2 parents 8651acc + 9e9cc49 commit b77087b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Add the following to your `mix.exs` file:
```elixir
defp deps do
[
{:contexted, "~> 0.1.3"}
{:contexted, "~> 0.1.4"}
]
end
```
Expand Down
4 changes: 0 additions & 4 deletions lib/contexted/tracer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ defmodule Contexted.Tracer do
If so, raises an error with an appropriate message.
"""
@spec trace(tuple(), map()) :: :ok
def trace({action, _line_details, module}, env) when action in [:alias_reference] do
verify_modules_mismatch(env.module, module)
end

def trace({action, _meta, module, _name, _arity}, env)
when action in [:imported_function, :remote_function, :remote_macro] do
verify_modules_mismatch(env.module, module)
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ defmodule Contexted.MixProject do
app: :contexted,
description:
"Contexted is an Elixir library designed to streamline the management of complex Phoenix contexts in your projects, offering tools for module separation, subcontext creation, and auto-generating CRUD operations for improved code maintainability.",
version: "0.1.3",
version: "0.1.4",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
Expand Down

0 comments on commit b77087b

Please sign in to comment.