From ebc9e0044572b9852ab54515e27d9f4a65b0fa22 Mon Sep 17 00:00:00 2001 From: Olivier Halligon Date: Sun, 30 Apr 2017 19:56:17 +0200 Subject: [PATCH] Remove ParametersError so that only Parameters.Error is used. --- CHANGELOG.md | 4 +++- Sources/Parameters.swift | 4 ---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 693277fb..de63bf90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,9 @@ _None_ ### Breaking Changes -_None_ +* The `ParametersError` enum has been replaced by the `Parameters.Error` nested type. + [Olivier Halligon](https://github.com/AliGator) + [#?](https://github.com/SwiftGen/SwiftGenKit/pulls/#) ### New Features diff --git a/Sources/Parameters.swift b/Sources/Parameters.swift index b2f39ca9..51dad58e 100644 --- a/Sources/Parameters.swift +++ b/Sources/Parameters.swift @@ -6,10 +6,6 @@ import Foundation -// For retro-compatibility. Remove in next major. -@available(*, deprecated, renamed: "Parameters.Error", message: "Use the Parameters.Error nested type instead") -public typealias ParametersError = Parameters.Error - /// Namespace to handle extra context parameters passed as a list of `foo=bar` strings. /// Typically used when parsing command-line arguments one by one /// (like `foo=bar pt.x=1 pt.y=2 values=1 values=2 values=3 flag`)