Skip to content

Commit 0c7d09c

Browse files
wojtekmachJosé Valim
authored andcommitted
Document :file option on quote/2 (#9679)
1 parent c4f03dc commit 0c7d09c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/elixir/lib/kernel/special_forms.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -835,6 +835,8 @@ defmodule Kernel.SpecialForms do
835835
Currently it only works on special forms (for example, you can annotate a `case`
836836
but not an `if`).
837837
838+
* `:file` - sets the quoted expressions to have the given file.
839+
838840
* `:line` - sets the quoted expressions to have the given line.
839841
840842
* `:location` - when set to `:keep`, keeps the current line and file from

0 commit comments

Comments
 (0)