Laura Harker

Results 51 comments of Laura Harker
trafficstars

I don't believe we've ever tried to implement this optimization. It'd be a good fit for https://github.com/google/closure-compiler/blob/master/src/com/google/javascript/jscomp/PeepholeFoldConstants.java. We'd need to back off on tagged template literals though.

We tried removing this pass a few months ago, but it caused CollapseProperties to break class-side inheritance after transpilation. The pass didn't realize that `Sub.method` referred to `Super.method`, so would...

Hi @adhamahmad, this is still an open issue and you're welcome to look into it. As mentioned in previous comments, we will review a PR for this but can't guarantee...

I agree this is a bug, but you might consider using a different strategy for making your functions available to external code by explicitly declaring them on the global object....

Hi @haraleib, Closure Compiler doesn't have any support for transpiling regular expressions to work on older browsers. I'll leave this open as a feature request but I think it's unlikely...

Hey @ashmichheda , could you provide some more details on what sort of contribution you have in mind? As Rishi commented previously, the underlying issue here is unclear rules around...

(I'll also note that we don't have the headcount to plan future investments in the Closure type system, so unfortunately we wouldn't have a lot of time to help)

Sounds good, assigning to @ashmichheda. (Please also feel free to start discussions on or send PRs for unassigned issues, the rate of incoming PRs is relatively low so you're unlikely...

We are not able to prioritize this right now, but probably should do a better job handling IIFEs and appreciate the report.

We agreed it's useful to have error messages print the diagnostic group to suppress them (if they're suppressible) and maybe to make it possible to add suppressions on any line,...