diff options
author | Doug Rohrer <[email protected]> | 2016-10-05 11:05:44 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2016-10-05 11:05:44 -0400 |
commit | 0411bfded2ee9aefb8178a47d139b54913490d5b (patch) | |
tree | 342070efd4a81958ab4a0035bdec8f678bca84be /system | |
parent | 33296501241d80df3dec8ee422bf8743558258af (diff) | |
download | otp-0411bfded2ee9aefb8178a47d139b54913490d5b.tar.gz otp-0411bfded2ee9aefb8178a47d139b54913490d5b.tar.bz2 otp-0411bfded2ee9aefb8178a47d139b54913490d5b.zip |
Update per review comments.
Diffstat (limited to 'system')
-rw-r--r-- | system/doc/reference_manual/typespec.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/doc/reference_manual/typespec.xml b/system/doc/reference_manual/typespec.xml index 4421529dda..ced584ed35 100644 --- a/system/doc/reference_manual/typespec.xml +++ b/system/doc/reference_manual/typespec.xml @@ -411,8 +411,8 @@ This is checked by the compiler and results in a compilation error if a violation is detected. </p> - <warning> - <p>In previous (pre-19) versions of Erlang, for fields without initial values, + <note> + <p>Before Erlang/OTP 19, for fields without initial values, the singleton type <c>'undefined'</c> was added to all declared types. In other words, the following two record declarations had identical effects:</p> @@ -428,7 +428,7 @@ This is no longer the case. If you require <c>'undefined'</c> in your record field type, you must explicitly add it to the typespec, as in the 2nd example. </p> - </warning> + </note> <p> Any record, containing type information or not, once defined, can be used as a type using the following syntax: |