@@ -16,12 +16,13 @@
|
|||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import ArgumentParser
|
import ArgumentParser
|
||||||
import Darwin
|
|
||||||
import Common
|
import Common
|
||||||
|
import Darwin
|
||||||
|
|
||||||
@main
|
@main
|
||||||
struct Cli: ParsableCommand {
|
struct Cli: ParsableCommand {
|
||||||
public func run() throws {
|
public func run() throws {
|
||||||
let e = ErrorWithLocation(sourceLocation: SourceLocation(1, 5), withError: "Testing")
|
let e = ErrorWithLocation(sourceLocation: SourceLocation(1, 5), withError: "Testing")
|
||||||
print(e.format())
|
print(e.format())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,6 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
public enum Result<OKT>: Equatable {
|
public enum Result<OKT>: Equatable {
|
||||||
case Ok(OKT)
|
case Ok(OKT)
|
||||||
case Error(any Errorable)
|
case Error(any Errorable)
|
||||||
|
|||||||
Reference in New Issue
Block a user