Skip to content

Commit

Permalink
InterfaceNode合并
Browse files Browse the repository at this point in the history
  • Loading branch information
L-Zephyr committed Sep 12, 2018
1 parent 32c5400 commit 5161df7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Drafter/Preprocessor/Pass/DistinctPass.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class DistinctPass: Pass {
if let index = interfaceSet.index(of: interface) {
interfaceSet[index].superCls = select(interfaceSet[index].superCls, interface.superCls)
interfaceSet[index].protocols.append(contentsOf: interface.protocols)
interfaceSet[index].methods.append(contentsOf: interface.methods)
} else {
interfaceSet.insert(interface)
}
Expand Down

0 comments on commit 5161df7

Please sign in to comment.