aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib
diff options
context:
space:
mode:
authorPéter Gömöri <[email protected]>2018-09-25 16:49:22 +0200
committerPéter Gömöri <[email protected]>2018-09-25 16:49:22 +0200
commit8f7c468bf851dbaba72bb230bae42034de7d2203 (patch)
tree911b1cf63b7be46442383a34526862b2d662cad2 /lib/stdlib
parent377f19f25aeec6939a6728bd0c4910086c22ccdc (diff)
downloadotp-8f7c468bf851dbaba72bb230bae42034de7d2203.tar.gz
otp-8f7c468bf851dbaba72bb230bae42034de7d2203.tar.bz2
otp-8f7c468bf851dbaba72bb230bae42034de7d2203.zip
Document bit_size in match-specs and allow in fun2ms
It is already allowed in match-specs.
Diffstat (limited to 'lib/stdlib')
-rw-r--r--lib/stdlib/src/ms_transform.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/stdlib/src/ms_transform.erl b/lib/stdlib/src/ms_transform.erl
index 3845e35e9b..6d243e1bec 100644
--- a/lib/stdlib/src/ms_transform.erl
+++ b/lib/stdlib/src/ms_transform.erl
@@ -946,6 +946,7 @@ real_guard_function(node,0) -> true;
real_guard_function(node,1) -> true;
real_guard_function(round,1) -> true;
real_guard_function(size,1) -> true;
+real_guard_function(bit_size,1) -> true;
real_guard_function(map_size,1) -> true;
real_guard_function(map_get,2) -> true;
real_guard_function(tl,1) -> true;