[M3devel] unreachable finally => link error

Jay K jay.krell at cornell.edu
Thu Sep 20 14:52:03 CEST 2012


Here is a bug in the current system, with current backend.Possibly I introduced it.

MODULE Main;PROCEDURE F1() = BEGIN RETURN; TRY FINALLY END; END F1;BEGIN F1(); END Main.

book2:c139 jay$ cm3 -keep--- building in AMD64_DARWIN ---
new source -> compiling Main.m3"../Main.m3", line 2: warning: unreachable statement1 warning encountered -> linking pgmUndefined symbols:  "_Main_M3_LINE_2.1099", referenced from:      _L_1 in Main.mold: symbol(s) not foundcollect2: ld returned 1 exit status  m3_link => 1linker failed linking: pgmFatal Error: package build failed

M3_LINE_2 is removed, besides the renamed.

 - Jay 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20120920/4588c918/attachment-0001.html>


More information about the M3devel mailing list