Skip to content

Commit 5a2d4fa

Browse files
committed
Swift: remove unneeded import list sorting
1 parent 86ebb0b commit 5a2d4fa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

swift/codegen/generators/qlgen.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,7 @@ def generate(opts, renderer):
164164

165165
# for example path/to/elements -> path/to/elements.qll
166166
include_file = stub_out.with_suffix(".qll")
167-
all_imports = ql.ImportList(list(sorted(imports.values())))
168-
renderer.render(all_imports, include_file)
167+
renderer.render(ql.ImportList(list(imports.values())), include_file)
169168

170169
renderer.render(ql.GetParentImplementation(
171170
classes), out / 'GetImmediateParent.qll')

0 commit comments

Comments
 (0)