mprobst marked an inline comment as done. mprobst added inline comments.
================ Comment at: unittests/Format/FormatTestJS.cpp:382 + "let x = 1;\n"); + verifyFormat("declare function foo(): string;\n" + "let x = 1;\n"); ---------------- sammccall wrote: > Maybe include an inline object return type for completeness? Done. There are still a lot of corner cases (e.g. union type with curlies in a latter type). We'd need to parse more or less the entire type grammar for that though :-/ Repository: rL LLVM https://reviews.llvm.org/D28246 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits