aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/escript.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2015-10-06 15:08:57 +0200
committerHans Bolinder <[email protected]>2015-10-08 15:09:28 +0200
commit3224c9b0b7022ccf2483af95f4efd8a6b6234f47 (patch)
treeb9811fdf7782a0847f1a5da787752616e865a365 /lib/stdlib/src/escript.erl
parent6e93fb788aebb9050da2166749b41ff54197e049 (diff)
downloadotp-3224c9b0b7022ccf2483af95f4efd8a6b6234f47.tar.gz
otp-3224c9b0b7022ccf2483af95f4efd8a6b6234f47.tar.bz2
otp-3224c9b0b7022ccf2483af95f4efd8a6b6234f47.zip
Update Kernel and STDLIB
Record field types have been modified due to commit 8ce35b2: "Take out automatic insertion of 'undefined' from typed record fields".
Diffstat (limited to 'lib/stdlib/src/escript.erl')
-rw-r--r--lib/stdlib/src/escript.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/stdlib/src/escript.erl b/lib/stdlib/src/escript.erl
index 41b49f4a86..b8ce311c35 100644
--- a/lib/stdlib/src/escript.erl
+++ b/lib/stdlib/src/escript.erl
@@ -38,7 +38,7 @@
-record(state, {file :: file:filename(),
module :: module(),
forms_or_bin,
- source :: source(),
+ source :: source() | 'undefined',
n_errors :: non_neg_integer(),
mode :: mode(),
exports_main :: boolean(),
@@ -49,9 +49,9 @@
-type emu_args() :: string().
-record(sections, {type,
- shebang :: shebang(),
- comment :: comment(),
- emu_args :: emu_args(),
+ shebang :: shebang() | 'undefined',
+ comment :: comment() | 'undefined',
+ emu_args :: emu_args() | 'undefined',
body}).
-record(extract_options, {compile_source}).