diff options
author | Björn Gustavsson <[email protected]> | 2014-02-17 15:10:27 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2014-02-17 15:10:27 +0100 |
commit | 6c9002f9174d40b69b3a5bcd5ef219ce4ceb3622 (patch) | |
tree | 9bed7eff26d5473ff09aa1ed84a124d3b039373b /lib/dialyzer/test/unmatched_returns_SUITE_data/src/lc_warnings/opaque_atom_adt.erl | |
parent | 05504680f9586f7f2fef7381a296d344e68c0fb2 (diff) | |
parent | 89bbe43c61320d6415d2f530df54dc4f6ccf03d4 (diff) | |
download | otp-6c9002f9174d40b69b3a5bcd5ef219ce4ceb3622.tar.gz otp-6c9002f9174d40b69b3a5bcd5ef219ce4ceb3622.tar.bz2 otp-6c9002f9174d40b69b3a5bcd5ef219ce4ceb3622.zip |
Merge branch 'bjorn/lc-warnings/OTP-11626'
* bjorn/lc-warnings/OTP-11626:
dialyzer: Silence useless warnings about list comprehensions
Diffstat (limited to 'lib/dialyzer/test/unmatched_returns_SUITE_data/src/lc_warnings/opaque_atom_adt.erl')
-rw-r--r-- | lib/dialyzer/test/unmatched_returns_SUITE_data/src/lc_warnings/opaque_atom_adt.erl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/dialyzer/test/unmatched_returns_SUITE_data/src/lc_warnings/opaque_atom_adt.erl b/lib/dialyzer/test/unmatched_returns_SUITE_data/src/lc_warnings/opaque_atom_adt.erl new file mode 100644 index 0000000000..b5b51fe75b --- /dev/null +++ b/lib/dialyzer/test/unmatched_returns_SUITE_data/src/lc_warnings/opaque_atom_adt.erl @@ -0,0 +1,9 @@ +-module(opaque_atom_adt). +-export([atom/1]). + +-opaque opaque_atom() :: atom(). + +-spec atom(atom()) -> opaque_atom(). + +atom(Atom) -> + Atom. |