Skip to content

Commit 986910e

Browse files
committed
stable sorting of extensions
1 parent de8fc07 commit 986910e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/WebIDLToSwift/MergeDeclarations.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ struct MergedInterface: DeclarationFile {
304304

305305
struct Extension: DeclarationFile {
306306
// sort next to declaration of protocol, hopefully
307-
var name: String { protocols.joined(separator: ", ") }
307+
var name: String { "\(protocols.joined(separator: ", ")) - \(conformer)" }
308308
let conformer: String
309309
var protocols: [String]
310310
}

0 commit comments

Comments
 (0)