diff options
author | Hans Bolinder <[email protected]> | 2019-02-19 09:46:48 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2019-02-19 09:46:48 +0100 |
commit | 9b0f2141bbcac3ce2bb4e99893181619f801b036 (patch) | |
tree | 2368669237f2eef2a0c5e282ebdc75a691221e04 /lib/dialyzer/test/small_SUITE_data/src | |
parent | 6c0c1f69353b14bb9cec8d6d2ae134b54bf3b2d7 (diff) | |
parent | 579cc8e2b4ed9283c9c9422b928bbaa6996ff884 (diff) | |
download | otp-9b0f2141bbcac3ce2bb4e99893181619f801b036.tar.gz otp-9b0f2141bbcac3ce2bb4e99893181619f801b036.tar.bz2 otp-9b0f2141bbcac3ce2bb4e99893181619f801b036.zip |
Merge branch 'maint'
* maint:
dialyzer: Fix a bug regarding contracts
Diffstat (limited to 'lib/dialyzer/test/small_SUITE_data/src')
-rw-r--r-- | lib/dialyzer/test/small_SUITE_data/src/spec_other_module.erl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/dialyzer/test/small_SUITE_data/src/spec_other_module.erl b/lib/dialyzer/test/small_SUITE_data/src/spec_other_module.erl new file mode 100644 index 0000000000..b36742b1bd --- /dev/null +++ b/lib/dialyzer/test/small_SUITE_data/src/spec_other_module.erl @@ -0,0 +1,7 @@ +-module(spec_other_module). + +%% OTP-15562 and ERL-845. Example provided by Kostis. + +-type deep_list(A) :: [A | deep_list(A)]. + +-spec lists:flatten(deep_list(A)) -> [A]. |