Skip to content

Commit 6f1c5c8

Browse files
committed
Update comments
1 parent 4b30c95 commit 6f1c5c8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/elixir/lib/module/types/descr.ex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ defmodule Module.Types.Descr do
3333
defmacrop tuple_literal(tag, elements),
3434
do: {:{}, [], [{tag, elements}, :bdd_top, :bdd_bot, :bdd_bot]}
3535

36-
defmacrop list_literal(list, last), do: {:{}, [], [{list, last}, :bdd_top, :bdd_bot, :bdd_bot]}
36+
defmacrop list_literal(list, last),
37+
do: {:{}, [], [{list, last}, :bdd_top, :bdd_bot, :bdd_bot]}
3738

38-
defmacrop domain_key(key), do: {:domain_key, key}
39+
defmacrop domain_key(key),
40+
do: {:domain_key, key}
3941

4042
@domain_key_types [
4143
{:domain_key, :binary},
@@ -1094,7 +1096,6 @@ defmodule Module.Types.Descr do
10941096
# Note: Function domains are expressed as tuple types. We use separate representations
10951097
# rather than unary functions with tuple domains to handle special cases like representing
10961098
# functions of a specific arity (e.g., (none,none->term) for arity 2).
1097-
# NOTE: this is a ternary (lazy) BDD where the middle node encodes unions.
10981099
defp fun_new(inputs, output), do: bdd_new({inputs, output})
10991100

11001101
# Creates a function type from a list of inputs and an output

0 commit comments

Comments
 (0)