Merge pull request #436 from TN8001/confused-method-references

Fix IDE auto-formatting confused by method references (40b1) #279
This commit is contained in:
Ben Fry
2022-04-23 08:34:28 -04:00
committed by GitHub

View File

@@ -732,7 +732,7 @@ public class AutoFormat implements Formatter {
case ':':
// Java 8 :: operator.
if (peek() == ':') {
result.append(c).append(nextChar());
buf.append(c).append(nextChar());
break;
}