diff options
author | rzezeski <[email protected]> | 2011-05-22 14:25:17 -0400 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2011-05-24 09:15:43 +0200 |
commit | 7d8a1f8b944d6734d9419f184c441899a48c11a3 (patch) | |
tree | e1245e23bc1ccd1f5214531fff4da2e78d5318c2 /lib/dialyzer/test/small_SUITE_data | |
parent | 5f7fa62cbfa18b88fc254fe362b11367177d2673 (diff) | |
download | otp-7d8a1f8b944d6734d9419f184c441899a48c11a3.tar.gz otp-7d8a1f8b944d6734d9419f184c441899a48c11a3.tar.bz2 otp-7d8a1f8b944d6734d9419f184c441899a48c11a3.zip |
Add a proplist() type
Recently I was adding specs to an API and found that there is
no canonical proplist() type defined.
Diffstat (limited to 'lib/dialyzer/test/small_SUITE_data')
-rw-r--r-- | lib/dialyzer/test/small_SUITE_data/src/file_open_encoding.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/dialyzer/test/small_SUITE_data/src/file_open_encoding.erl b/lib/dialyzer/test/small_SUITE_data/src/file_open_encoding.erl index 4f1268eba8..086df3464b 100644 --- a/lib/dialyzer/test/small_SUITE_data/src/file_open_encoding.erl +++ b/lib/dialyzer/test/small_SUITE_data/src/file_open_encoding.erl @@ -6,9 +6,7 @@ -export([parse/1]). --type proplist() :: [{atom(), any()}]. - --spec parse(string()) -> proplist(). +-spec parse(string()) -> proplists:proplist(). parse(FileName) -> {ok, IoDevice} = file:open(FileName, [read, binary, {encoding, utf8}]), do_parse(IoDevice, []). |