Skip to content

Commit

Permalink
feat: keep the location of bangified functions
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceEEC committed Jul 16, 2018
1 parent cab6a72 commit efbee5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/mix/tasks/bangify.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule Mix.Tasks.Bangify do
# Generated __generated__
defmacro __using__(_) do
quote do
quote location: :keep do
__functions__
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/rest/bang.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule Crux.Rest.Bang do
# Generated 2018-07-08T18:00:29.900000Z

defmacro __using__(_) do
quote do
quote location: :keep do
@doc "The same as `add_guild_member/3`, but raises an exception if it fails."
@spec add_guild_member!(
guild :: Crux.Rest.Util.guild_id_resolvable(),
Expand Down

0 comments on commit efbee5c

Please sign in to comment.