GitNexus/gitnexus/test/fixtures/lang-resolution/swift-overload-dispatch/SqlRepository.swift

5 lines
216 B
Swift

class SqlRepository: Repository {
func find(id: Int) -> String { return "found-by-id" }
func find(name: String, exact: Bool) -> String { return "found-by-name" }
func save(data: String) { print(data) }
}