<div dir="ltr"><div>This is a change I wanted to create, so LGTM. Thank you for doing this.<br></div><div><br></div><div>One thing this could be improved is probably to return ErrorOr<unique_ptr<File>> instead of error_code. Returning the actual return value using 3rd argument which is passed-by-reference looks a bit weird.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 23, 2015 at 1:06 PM, Rafael EspĂndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">loadFile can load mulitple files just because yaml has a feature for<br>
putting multiple documents in one file.<br>
<br>
Designing a linker around what yaml can do seems like a bad idea to<br>
me. The attached wip patch changes it to read a single file. It also<br>
updates one test to show the difference.<br>
<br>
OK with the remaining tests updated?<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div><br></div>