Commit ec8000fd authored by Drew's avatar Drew

Update to swift-DEVELOPMENT-SNAPSHOT-2016-05-03-a

parent 7fef48b1
Pipeline #1813 passed with stage
Subproject commit b42022731e191cbe5d038a0d624caf5d1de2a271 Subproject commit a846230a116de646ec15ff5bc031de563b07fc11
...@@ -13,7 +13,7 @@ final class CustomTool: Tool { ...@@ -13,7 +13,7 @@ final class CustomTool: Tool {
} }
let name: String let name: String
init(name: String) { init(name: String) {
self.name = String(name.characters[name.characters.startIndex..<name.characters.startIndex.advanced(by: name.characters.count - 7)]) self.name = String(name.characters[name.characters.startIndex..<name.characters.index(name.characters.startIndex, offsetBy: name.characters.count - 7)])
} }
func run(task: Task, toolchain: String) { func run(task: Task, toolchain: String) {
var cmd = "\(self.name) " var cmd = "\(self.name) "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment