From 7d8a1f8b944d6734d9419f184c441899a48c11a3 Mon Sep 17 00:00:00 2001 From: rzezeski Date: Sun, 22 May 2011 14:25:17 -0400 Subject: Add a proplist() type Recently I was adding specs to an API and found that there is no canonical proplist() type defined. --- lib/dialyzer/test/small_SUITE_data/src/file_open_encoding.erl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/dialyzer/test') 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, []). -- cgit v1.2.3