diff options
author | Sverker Eriksson <[email protected]> | 2017-08-31 14:37:07 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-08-31 14:37:07 +0200 |
commit | 661a422dd0d7b769dbb049f2d97fab04871cddd7 (patch) | |
tree | 175e5aa16813fd1d11f40797f128b4daab18da4e /lib/stdlib | |
parent | 4958cc06969277b74f36daf25e8fa031114143a4 (diff) | |
parent | 8ff812c4087cc536f2ef7a8a33eb74226ed9a1e7 (diff) | |
download | otp-661a422dd0d7b769dbb049f2d97fab04871cddd7.tar.gz otp-661a422dd0d7b769dbb049f2d97fab04871cddd7.tar.bz2 otp-661a422dd0d7b769dbb049f2d97fab04871cddd7.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/stdlib')
-rw-r--r-- | lib/stdlib/doc/src/ets.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/doc/src/ets.xml b/lib/stdlib/doc/src/ets.xml index f6f3d18d6a..95af2b77a5 100644 --- a/lib/stdlib/doc/src/ets.xml +++ b/lib/stdlib/doc/src/ets.xml @@ -408,9 +408,9 @@ calls cannot be in the guard or body of the fun. Calls to built-in match specification functions is of course allowed:</p> <pre> -4> <input>ets:fun2ms(fun({M,N}) when N > X, is_atomm(M) -> M end).</input> +4> <input>ets:fun2ms(fun({M,N}) when N > X, my_fun(M) -> M end).</input> Error: fun containing local Erlang function calls -('is_atomm' called in guard) cannot be translated into match_spec +('my_fun' called in guard) cannot be translated into match_spec {error,transform_error} 5> <input>ets:fun2ms(fun({M,N}) when N > X, is_atom(M) -> M end).</input> [{{'$1','$2'},[{'>','$2',{const,3}},{is_atom,'$1'}],['$1']}]</pre> |