Skip to content

Commit

Permalink
Delete unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
dfed committed Dec 10, 2023
1 parent d609323 commit cb1c6b2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
11 changes: 0 additions & 11 deletions Sources/SafeDICore/Models/ConcreteDeclType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,4 @@ public enum ConcreteDeclType {
false
}
}

var isStruct: Bool {
switch self {
case .actorType:
false
case .classType:
false
case .structType:
true
}
}
}
6 changes: 0 additions & 6 deletions Sources/SafeDICore/Models/Initializer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,6 @@ public struct Initializer: Codable, Hashable {
)
}

public init(property: Property) {
outerLabel = nil
innerLabel = property.label
typeDescription = property.typeDescription
}

init(_ node: FunctionParameterSyntax) {
if let secondName = node.secondName {
outerLabel = node.firstName.text
Expand Down

0 comments on commit cb1c6b2

Please sign in to comment.