Be aware there's a known bug: if you see "[cpp_name] can't find instance X"
it is probably caused by Felix eliminating X because it isn't used, but it is
a function parameter.

Function parameters are not supposed to be eliminated unless 

* the function is always inlined, or,
* the corresponding argument can be removed from every call

Exported functions should never satisfy these requirements.

Functions for which closures are required cannot satisfy these
requirements either (because Felix isn't smart enough to track
all calls made on the closure value).



--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to