diff options
author | Björn Gustavsson <[email protected]> | 2013-01-17 13:50:44 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-01-17 13:50:44 +0100 |
commit | 1c1d635713d8e2587e5ba694b78885d0cd1dde7e (patch) | |
tree | 9fde20fb2ef9d3d40f02384bc401d2c2aa307d4f /lib/compiler | |
parent | 60cabff61c07f5d5cb9dde1eb6b8e73897a0f928 (diff) | |
parent | f13681df2b9c7c70cb4ce317c554755ea3975d8d (diff) | |
download | otp-1c1d635713d8e2587e5ba694b78885d0cd1dde7e.tar.gz otp-1c1d635713d8e2587e5ba694b78885d0cd1dde7e.tar.bz2 otp-1c1d635713d8e2587e5ba694b78885d0cd1dde7e.zip |
Merge branch 'bjorn/remove-packages/OTP-10348'
* bjorn/remove-packages/OTP-10348:
compile: Remove vestiges of package support
Remove documentation about packages
Diffstat (limited to 'lib/compiler')
-rw-r--r-- | lib/compiler/src/compile.erl | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/compiler/src/compile.erl b/lib/compiler/src/compile.erl index 10e7f5e9ce..2d1557fa5b 100644 --- a/lib/compiler/src/compile.erl +++ b/lib/compiler/src/compile.erl @@ -907,11 +907,8 @@ add_default_base(St, Forms) -> F = St#compile.filename, case F of "" -> - M = case get_module(Forms) of - PackageModule when is_list(PackageModule) -> last(PackageModule); - M0 -> M0 - end, - St#compile{base = atom_to_list(M)}; + M = get_module(Forms), + St#compile{base=atom_to_list(M)}; _ -> St end. |