Skip to content
This repository was archived by the owner on Apr 2, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public struct S {
var v = 1
}

private func f() -> Int {
fileprivate func f() -> Int {
let a = A()
return a.v // break here
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ extension S {
var v = 3
}

private func f() -> Int {
fileprivate func f() -> Int {
let a = A()
return a.v // break here
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ public final class PerformanceMetric {

public struct Continuation<A> {
private let magicToken = "Hello World"
private let f: (() -> A)?
private let failable: (() -> Continuation<A>?)?
private var perfMetric: PerformanceMetric?
fileprivate let f: (() -> A)?
fileprivate let failable: (() -> Continuation<A>?)?
fileprivate var perfMetric: PerformanceMetric?

public func run() -> A? {
if let ff = f {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ extension S {
var c = 1.25
}

private func fA() -> Int {
fileprivate func fA() -> Int {
var a = A()
return a.a + 1 // break here
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ extension S {
var c = 1.25
}

private func fA() -> Int {
fileprivate func fA() -> Int {
var a = A()
return a.a + 1 // break here
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class MyString {
}

class MyClass {
private func processItem(_ item: MyString) -> () {
fileprivate func processItem(_ item: MyString) -> () {
debugPrint(item) //% self.expect("expr -d run -- self", substrs=['MyClass'])
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
//
// -----------------------------------------------------------------------------
public struct MyStruct {
private typealias IntegerType = Int
fileprivate typealias IntegerType = Int
private var m_integer = IntegerType(345)
private func Foo(_ i : IntegerType)
fileprivate func Foo(_ i : IntegerType)
{
print("i = \(i)") // breakpoint 1
}

private func Bar()
fileprivate func Bar()
{
let a : Dictionary<String, IntegerType> = [ "hello" : 234 ]
print("a = \(a)") // breakpoint 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// -----------------------------------------------------------------------------

public struct S {
private var b = 2
fileprivate var b = 2
public var a = 1

public init() {}
Expand Down