I haven't tracked down what causes this, but it would be nice to do both of these things:
Prevent the splitting out into a temporary
For cases where assignment of a connected method is done to some function var on purpose, we should probably wrap it or something, but the above bullet is more urgent for common use cases
I wrote some Temper code like this:
Somewhere that call to
String.fromCodePoints
gets broken into a function assignment then a call. Here's the assignment, for example:And here's the produced tmpl:
The upshot is that the connected method never resolves. Here's a different example from the same funtest that does get converted:
I haven't tracked down what causes this, but it would be nice to do both of these things: