Skip to content

Commit 7dbea2d

Browse files
committed
v0.11.3
1 parent 241b1a1 commit 7dbea2d

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## main
44

5+
## v0.11.3
6+
57
### Fixes
68

79
* directives: fix infinite loop when encountering `@spec import(...) :: ...` (Closes #115, h/t @kerryb)

lib/style.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ defmodule Styler.Style do
2929
You can skip traversing parts of the tree by returning a Zipper that's further along in the traversal, for example
3030
by calling `Zipper.skip(zipper)` to skip an entire subtree you know is of no interest to your Style.
3131
"""
32-
@callback run(Zipper.zipper(), context()) :: {Zipper.command(), Zipper.zipper(), context()}
32+
@callback run(Zipper.t(), context()) :: {Zipper.command(), Zipper.t(), context()}
3333

3434
@doc "Recursively sets `:line` meta to `line`. Deletes `:newlines` unless `delete_lines: false` is passed"
3535
def set_line(ast_node, line, opts \\ []) do

lib/zipper.ex

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ defmodule Styler.Zipper do
3434
}
3535

3636
@type zipper :: {tree, path | nil}
37+
@type t :: zipper
3738
@type command :: :cont | :skip | :halt
3839

3940
@doc """

mix.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ defmodule Styler.MixProject do
1212
use Mix.Project
1313

1414
# Don't forget to bump the README when doing non-patch version changes
15-
@version "0.11.2"
15+
@version "0.11.3"
1616
@url "https://github.com/adobe/elixir-styler"
1717

1818
def project do

0 commit comments

Comments
 (0)