File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- 4.1
1
+ 4.2
Original file line number Diff line number Diff line change 5
5
include :
6
6
- os : osx
7
7
language : objective-c
8
- osx_image : xcode9.3
8
+ osx_image : xcode10.2
9
9
script :
10
10
- swift build
11
11
- swift run pst-lite
Original file line number Diff line number Diff line change 1
- // swift-tools-version:4.0
1
+ // swift-tools-version:4.2
2
2
3
3
import PackageDescription
4
4
Original file line number Diff line number Diff line change 1
1
/// PrettyStackTrace.swift
2
2
///
3
- /// Copyright 2018, The LLVMSwift Project.
3
+ /// Copyright 2018-2019 , The LLVMSwift Project.
4
4
///
5
5
/// This project is released under the MIT license, a copy of which is
6
6
/// available in the repository.
@@ -99,7 +99,7 @@ private func writeLeadingSpacesAndStackPosition(_ int: UInt) {
99
99
while int > 0 {
100
100
let remInt = int. remainderReportingOverflow ( dividingBy: 10 ) . partialValue
101
101
let remInt8 = Int8 ( truncatingIfNeeded: remInt)
102
- int = int. unsafeDivided ( by: 10 )
102
+ int = int. dividedReportingOverflow ( by: 10 ) . 0
103
103
end. pointee = remInt8 &+ 48 /// (ascii '0')
104
104
end = end. predecessor ( )
105
105
}
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ func run() -> Int {
70
70
}
71
71
72
72
var options = FileCheckOptions ( )
73
- binder. fill ( results, into: & options)
73
+ try ! binder. fill ( parseResult : results, into: & options)
74
74
75
75
let fileHandle : FileHandle
76
76
if let input = results. get ( inputFile) {
You can’t perform that action at this time.
0 commit comments