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 55 include :
66 - os : osx
77 language : objective-c
8- osx_image : xcode9.3
8+ osx_image : xcode10.2
99 script :
1010 - swift build
1111 - 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
22
33import PackageDescription
44
Original file line number Diff line number Diff line change 11/// PrettyStackTrace.swift
22///
3- /// Copyright 2018, The LLVMSwift Project.
3+ /// Copyright 2018-2019 , The LLVMSwift Project.
44///
55/// This project is released under the MIT license, a copy of which is
66/// available in the repository.
@@ -99,7 +99,7 @@ private func writeLeadingSpacesAndStackPosition(_ int: UInt) {
9999 while int > 0 {
100100 let remInt = int. remainderReportingOverflow ( dividingBy: 10 ) . partialValue
101101 let remInt8 = Int8 ( truncatingIfNeeded: remInt)
102- int = int. unsafeDivided ( by: 10 )
102+ int = int. dividedReportingOverflow ( by: 10 ) . 0
103103 end. pointee = remInt8 &+ 48 /// (ascii '0')
104104 end = end. predecessor ( )
105105 }
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ func run() -> Int {
7070 }
7171
7272 var options = FileCheckOptions ( )
73- binder. fill ( results, into: & options)
73+ try ! binder. fill ( parseResult : results, into: & options)
7474
7575 let fileHandle : FileHandle
7676 if let input = results. get ( inputFile) {
You can’t perform that action at this time.
0 commit comments