Skip to content

Commit b8dbea8

Browse files
committed
Preserve nested aliases when sorting
1 parent 5de6ecd commit b8dbea8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/rbs/sorter.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def sort_decl(decl)
5050
instance_initialize_methods: [],
5151
public_instance_methods: [],
5252
private_instance_methods: [],
53+
other_decls: [],
5354
} #: partitioned
5455

5556
members = decl.members.map { |m| sort_decl m }

0 commit comments

Comments
 (0)