Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion examples/simple_app/lib/simple_app.ex
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,4 @@ defmodule SimpleApp do
l = fn -> :ok end
l.()
end

end
1 change: 0 additions & 1 deletion examples/simple_app/lib/simple_app/box.ex
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
defmodule SimpleApp.Box do

@spec get_l() :: {:ok, integer()} | :error
def get_l, do: {:ok, 5}

Expand Down
4 changes: 2 additions & 2 deletions lib/gradient.ex
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defmodule Gradient do

alias Gradient.ElixirFileUtils
alias Gradient.ElixirFmt
alias Gradient.SpecifyErlAst
alias Gradient.AstSpecifier

require Logger

Expand All @@ -23,7 +23,7 @@ defmodule Gradient do
forms =
forms
|> put_code_path(opts)
|> SpecifyErlAst.specify()
|> AstSpecifier.specify()

case :gradualizer.type_check_forms(forms, opts) do
[] ->
Expand Down
Loading