aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/small_SUITE_data
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2011-08-29 17:15:23 +0200
committerHenrik Nord <[email protected]>2011-08-29 17:21:47 +0200
commit7f5f7b08a8f0ed55126192beaed9d748f14c8f0a (patch)
treea35f7ab30a0e1a18664c1fd0e3adea281d152396 /lib/dialyzer/test/small_SUITE_data
parentf94beb7788106a85a02bebcd6362a170248fa659 (diff)
parent7d8a1f8b944d6734d9419f184c441899a48c11a3 (diff)
downloadotp-7f5f7b08a8f0ed55126192beaed9d748f14c8f0a.tar.gz
otp-7f5f7b08a8f0ed55126192beaed9d748f14c8f0a.tar.bz2
otp-7f5f7b08a8f0ed55126192beaed9d748f14c8f0a.zip
Merge branch 'rz/add_proplist_type' into dev
* rz/add_proplist_type: Add a proplist() type OTP-9499
Diffstat (limited to 'lib/dialyzer/test/small_SUITE_data')
-rw-r--r--lib/dialyzer/test/small_SUITE_data/src/file_open_encoding.erl4
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, []).