diff options
author | Henrik Nord <[email protected]> | 2011-11-30 16:04:11 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2011-11-30 16:04:15 +0100 |
commit | 0290bed50ccbba067619c5829b0a090a8a60a2ff (patch) | |
tree | 301de75ee89b085c962025a143b45719af9c68fd /lib/dialyzer/src/dialyzer_cl.erl | |
parent | 08ea3af8528ad0920021ecc230a66eb5ee59bc86 (diff) | |
parent | 804f81747df38cbcb997a6e7aebe8d3868a31e3e (diff) | |
download | otp-0290bed50ccbba067619c5829b0a090a8a60a2ff.tar.gz otp-0290bed50ccbba067619c5829b0a090a8a60a2ff.tar.bz2 otp-0290bed50ccbba067619c5829b0a090a8a60a2ff.zip |
Merge branch 'sa/dialyzer-fixes-r15'
* sa/dialyzer-fixes-r15:
Update inets test results
Add file/line info in a particular Dialyzer crash
Fix Dialyzer's warnings in HiPE
Fix Dialyzer's warning for its own code
Fix crash in Typer
No warnings for underspecs with remote types
OTP-9758
Diffstat (limited to 'lib/dialyzer/src/dialyzer_cl.erl')
-rw-r--r-- | lib/dialyzer/src/dialyzer_cl.erl | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/dialyzer/src/dialyzer_cl.erl b/lib/dialyzer/src/dialyzer_cl.erl index e638e2fff2..732bd4ac84 100644 --- a/lib/dialyzer/src/dialyzer_cl.erl +++ b/lib/dialyzer/src/dialyzer_cl.erl @@ -525,10 +525,7 @@ native_compile(Mods) -> end. hc(Mod) -> - case code:ensure_loaded(Mod) of - {module, Mod} -> ok; - {error, sticky_directory} -> ok - end, + {module, Mod} = code:ensure_loaded(Mod), case code:is_module_native(Mod) of true -> ok; false -> @@ -611,7 +608,7 @@ cl_loop(State, LogCache) -> -spec failed_anal_msg(string(), [_]) -> nonempty_string(). failed_anal_msg(Reason, LogCache) -> - Msg = "Analysis failed with error: " ++ Reason ++ "\n", + Msg = "Analysis failed with error:\n" ++ Reason ++ "\n", case LogCache =:= [] of true -> Msg; false -> |