Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Sources/SwiftAPIDiffExample/SwiftAPIDiffExample.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public enum SwiftAPIDiffExample {
/// Some exported struct
public struct ExampleStruct {
/// Some public field
public let exampleField: ExampleType = 123
public let exampleField: Float = 123.0

/// Some private field
private let shouldntBeVisibleField1: ExampleType = 456
Expand All @@ -30,8 +30,8 @@ public enum SwiftAPIDiffExample {
case C

/// Some public static method
public static func getExample() -> ExampleEnum {
return .A
public static func getExample() -> [ExampleEnum] {
return [.B, .A]
}
}
}