diff options
author | Hans Bolinder <[email protected]> | 2018-01-10 10:02:42 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2018-01-10 10:02:42 +0100 |
commit | fa906be49717c6686bf3b19ab3bcb8d45513590c (patch) | |
tree | 90c65f7b2359b5cee6c15e198f049ff28d6df6da /lib/stdlib/doc/src/io.xml | |
parent | cfeea60dc32e545882047d0ab1d77566a83dcbd3 (diff) | |
parent | 9ab233d389bfc40ddaa56af80ace5cc78470a92b (diff) | |
download | otp-fa906be49717c6686bf3b19ab3bcb8d45513590c.tar.gz otp-fa906be49717c6686bf3b19ab3bcb8d45513590c.tar.bz2 otp-fa906be49717c6686bf3b19ab3bcb8d45513590c.zip |
Merge branch 'hasse/stdlib/erl_eval_stacktrace/OTP-14826/PR-1540'
* hasse/stdlib/erl_eval_stacktrace/OTP-14826/PR-1540:
syntax_tools: Correct handling of stacktrace variable
stdlib: Add check of stacktrace variable to erl_eval
stdlib: Improve erl_eval's stacktraces
Diffstat (limited to 'lib/stdlib/doc/src/io.xml')
-rw-r--r-- | lib/stdlib/doc/src/io.xml | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/stdlib/doc/src/io.xml b/lib/stdlib/doc/src/io.xml index 64fcf4379f..72c774e6ef 100644 --- a/lib/stdlib/doc/src/io.xml +++ b/lib/stdlib/doc/src/io.xml @@ -257,8 +257,9 @@ ok</pre> \x{400} ok 5> <input>io:fwrite("~s~n",[[1024]]).</input> -** exception exit: {badarg,[{io,format,[<0.26.0>,"~s~n",[[1024]]]}, - ...</pre> +** exception error: bad argument + in function io:format/3 + called as io:format(<0.53.0>,"~s~n",[[1024]])</pre> </item> <tag><c>w</c></tag> <item> @@ -454,12 +455,9 @@ ok</pre> abc def 'abc def' {foo,1} A ok 2> <input>io:fwrite("~s", [65]).</input> -** exception exit: {badarg,[{io,format,[<0.22.0>,"~s","A"]}, - {erl_eval,do_apply,5}, - {shell,exprs,6}, - {shell,eval_exprs,6}, - {shell,eval_loop,3}]} - in function io:o_request/2</pre> +** exception error: bad argument + in function io:format/3 + called as io:format(<0.53.0>,"~s","A")</pre> <p>In this example, an attempt was made to output the single character 65 with the aid of the string formatting directive <c>"~s"</c>.</p> |