Skip to content

Commit a1205ff

Browse files
committed
Fix export module attribute
The correct format is: ``` -export(Functions). ``` ELP detected this malformed syntax. Interestingly, prior to this commit, the functions were still exported: ``` rabbitmq_amqp_address:module_info(exports). [{exchange,1}, {exchange,2}, {queue,1}, {module_info,0}, {module_info,1}] ```
1 parent e4db147 commit a1205ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deps/rabbitmq_amqp_client/src/rabbitmq_amqp_address.erl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
-module(rabbitmq_amqp_address).
88

9-
-export[exchange/1,
10-
exchange/2,
11-
queue/1].
9+
-export([exchange/1,
10+
exchange/2,
11+
queue/1]).
1212

1313
-spec exchange(unicode:unicode_binary()) ->
1414
unicode:unicode_binary().

0 commit comments

Comments
 (0)