Open yossigil opened 7 years ago
String f() {
String line;
for ( final StringBuffer sb = new StringBuffer(line); (line = reader.readLine()) != null;
sb.append(line))
;
return sb + "";
}
is compilation error, now ForToForInitializers wouldn't tip this...
Write Preview
Tough inlining problem
Could be inlined as
and then no further, or we can apply move closer to usage on sb, getting:
See issue #293 for more details on how and when this could be done. Then we get
then, we get stuck, unless a clever tipper or two do the job:
which then changes to
which laconically goes to
and then by
which gets simplified to
which then someday converts to some kind of an iterator