diff options
author | Hans Nilsson <[email protected]> | 2016-06-30 12:21:54 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2016-06-30 12:21:54 +0200 |
commit | 7c91a9c8d4a05ab254b89a6b1d700ff794017579 (patch) | |
tree | 7e2d541ccb89b0a1859b1fc9c9ee6cd930f72cd0 /lib/dialyzer/test | |
parent | c2157dc06a8c997c207dd82cd6fa11dbcb508f11 (diff) | |
parent | 0573efbc18fc20f8646cf3ff64d2affd06e03cb8 (diff) | |
download | otp-7c91a9c8d4a05ab254b89a6b1d700ff794017579.tar.gz otp-7c91a9c8d4a05ab254b89a6b1d700ff794017579.tar.bz2 otp-7c91a9c8d4a05ab254b89a6b1d700ff794017579.zip |
Merge branch 'maint-19' into maint
Diffstat (limited to 'lib/dialyzer/test')
-rw-r--r-- | lib/dialyzer/test/map_SUITE_data/src/mand_remote_val/a.erl | 9 | ||||
-rw-r--r-- | lib/dialyzer/test/map_SUITE_data/src/mand_remote_val/b.erl | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/lib/dialyzer/test/map_SUITE_data/src/mand_remote_val/a.erl b/lib/dialyzer/test/map_SUITE_data/src/mand_remote_val/a.erl new file mode 100644 index 0000000000..827984b20b --- /dev/null +++ b/lib/dialyzer/test/map_SUITE_data/src/mand_remote_val/a.erl @@ -0,0 +1,9 @@ +-module(a). +-export([to_map/1, to_map/2]). +-type t() :: #{type := b:t()}. + +-spec to_map(t()) -> map(). +to_map(Resource) -> to_map(Resource, #{}). + +-spec to_map(t(), map()) -> map(). +to_map(_, Map) when is_map(Map) -> #{}. diff --git a/lib/dialyzer/test/map_SUITE_data/src/mand_remote_val/b.erl b/lib/dialyzer/test/map_SUITE_data/src/mand_remote_val/b.erl new file mode 100644 index 0000000000..31f9bb6b3e --- /dev/null +++ b/lib/dialyzer/test/map_SUITE_data/src/mand_remote_val/b.erl @@ -0,0 +1,3 @@ +-module(b). +-export_type([t/0]). +-type t() :: binary(). |