Eric Li

Results comments of Eric Li

Here is a test repro. ```c++ TEST_F(FormatTestSelective, Repro) { EXPECT_EQ("void f() {}\n", format("void f() {\n \n}\n", 13, 0)); } ```

I support @lexi-nadia's request for commit access.

I've confirmed that this appears fixed from our end in 9.3.0rc1. Much appreciated for the quick turnaround!

This seems to be related, so I wanted to ask about expected behaviour in certain situations. These are all done on aebafad41eab48f43ed649ce8c77e8f1528b50da. :+1: Empty IIFE, works as intended: ``` $...

I just realized that you'd need to verify that what's passed into an empty IIFE doesn't have any side effects, `(function(){})(a)` versus `(function(){})(a.mutatorProperty)`. Well, that's a bummer.

~~When taking heap snapshots in Chrome, it appears that objects created with Object.create are just listed as "Objects." It seems that maybe the constructor is used to categorize the objects.~~...

> ``` > THREE.extend = function(obj){ > var f = function(){} > f.prototype = obj.prototype; > return new f(); > }; > ``` But now you _can't_ have side effects...