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