On Mon, Nov 5, 2012 at 10:08 PM, Argyrios Kyrtzidis <span dir="ltr"><<a href="mailto:kyrtzidis@apple.com" target="_blank">kyrtzidis@apple.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><div class="im"><blockquote type="cite"><div class="gmail_quote"><div><br></div><div>Since Preprocessor has a getModuleLoader() method, that would force null-checks on all callers. Currently only 2 of them, so no big deal, but I tend to shy away from exposing NULLs.</div>
</div></blockquote><div><br></div></div><div>How about if you don't pass an implementation of ModuleLoader, the preprocessor creates internally the "VoidModuleLoader".</div></div></div></blockquote><div><br>
</div><div>Sure, that's also an option. It just occurred to me that another alternative might be to have ModuleLoader itself implement loadModule by default.</div><div><br></div><div>- Kim</div></div>