This is an archive of the discontinued LLVM Phabricator instance.

clang-format: [JS] do not merge side-effect imports.
ClosedPublic

Authored by mprobst on Apr 21 2021, 10:54 PM.

Details

Summary

The if condition was testing the current element, but
forgot to check the previous element (doh), so it
would fail depending on sort order of the imports.

Diff Detail

Event Timeline

mprobst requested review of this revision.Apr 21 2021, 10:54 PM
mprobst created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2021, 10:54 PM
krasimir accepted this revision.Apr 21 2021, 11:58 PM
This revision is now accepted and ready to land.Apr 21 2021, 11:58 PM
This revision was landed with ongoing or failed builds.Apr 22 2021, 1:37 AM
This revision was automatically updated to reflect the committed changes.