fdoc:describe never returns

Matthias Radestock <[email protected]> Fri, 13 Apr 2007 18:43:58 +0100
Newsgroups gmane.comp.lang.erlang.distel.devel
Message-ID <[email protected]>
Subject line says it all.

The reason is that fdoc:import_module/1 calls distel:find_source/1 and
expect to get 'error' on error whereas what distel:find_source/1
actually returns is {error, Reason}.

Patch against the repository at http://distel.googlecode.com/svn is
attached.

Regards,

Matthias

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Distel-hackers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/distel-hackers
fdoc.patch (text/x-diff, 278 B)
Index: src/fdoc.erl
===================================================================
--- src/fdoc.erl	(revision 8)
+++ src/fdoc.erl	(working copy)
@@ -183,7 +183,7 @@
 		{error, _Reason} ->
 		    skipped
 	    end;
-	error ->
+	{error, _Reason} ->
 	    skipped
     end.