aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/escript.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2011-08-24 12:35:49 +0200
committerHans Bolinder <[email protected]>2011-08-31 08:57:38 +0200
commitca7d2d43a839ab284104edea4663ada52d2c3e23 (patch)
treee748d3f36173e1054222c1bc3af249a69d13787d /lib/stdlib/src/escript.erl
parent45942fb2f521ae7e043987eedc0d6197ba7b55b0 (diff)
downloadotp-ca7d2d43a839ab284104edea4663ada52d2c3e23.tar.gz
otp-ca7d2d43a839ab284104edea4663ada52d2c3e23.tar.bz2
otp-ca7d2d43a839ab284104edea4663ada52d2c3e23.zip
Improve and correct types and specifications in Kernel and STDLIB
Running Dialyzer on the test suites revealed a few type errors.
Diffstat (limited to 'lib/stdlib/src/escript.erl')
-rw-r--r--lib/stdlib/src/escript.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/stdlib/src/escript.erl b/lib/stdlib/src/escript.erl
index d67617260e..cd1bacd2f5 100644
--- a/lib/stdlib/src/escript.erl
+++ b/lib/stdlib/src/escript.erl
@@ -62,10 +62,10 @@
-type zip_create_option() :: term().
-type section() ::
shebang
- | {shebang, shebang()}
+ | {shebang, shebang() | default | undefined}
| comment
- | {comment, comment()}
- | {emu_args, emu_args()}
+ | {comment, comment() | default | undefined}
+ | {emu_args, emu_args() | undefined}
| {source, file:filename() | binary()}
| {beam, file:filename() | binary()}
| {archive, file:filename() | binary()}