diff options
author | Hans Bolinder <[email protected]> | 2016-12-19 15:37:54 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2016-12-21 15:54:24 +0100 |
commit | 6d2380326a67a00eeae31689c00936da6f3526d2 (patch) | |
tree | ae55e912947460d2324a5630f2485e23bedf90eb /lib/dialyzer/test/small_SUITE_data/results | |
parent | 1715b9284643150da0f3ea43df42df1a4a90e144 (diff) | |
download | otp-6d2380326a67a00eeae31689c00936da6f3526d2.tar.gz otp-6d2380326a67a00eeae31689c00936da6f3526d2.tar.bz2 otp-6d2380326a67a00eeae31689c00936da6f3526d2.zip |
stdlib: Allow characters in types and constant patterns
Characters ($char) can be used in constant pattern expressions. They
can also be used in types and contracts.
Diffstat (limited to 'lib/dialyzer/test/small_SUITE_data/results')
-rw-r--r-- | lib/dialyzer/test/small_SUITE_data/results/chars | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/dialyzer/test/small_SUITE_data/results/chars b/lib/dialyzer/test/small_SUITE_data/results/chars new file mode 100644 index 0000000000..2c1f8f8d17 --- /dev/null +++ b/lib/dialyzer/test/small_SUITE_data/results/chars @@ -0,0 +1,4 @@ + +chars.erl:29: Invalid type specification for function chars:f/1. The success typing is (#{'b':=50}) -> 'ok' +chars.erl:32: Function t1/0 has no local return +chars.erl:32: The call chars:f(#{'b':=50}) breaks the contract (#{'a':=49,'b'=>50,'c'=>51}) -> 'ok' |