From ef09ec888532a091a6f1531349ceb5a4b40e1fd5 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Sat, 16 Feb 2013 20:13:09 -0600 Subject: [PATCH] Fix generic Comparable mapping --- Antlr4.Runtime/Atn/SemanticContext.cs | 1 + reference/sharpen-all-options.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/Antlr4.Runtime/Atn/SemanticContext.cs b/Antlr4.Runtime/Atn/SemanticContext.cs index a0a53e2bc..888cf39d1 100644 --- a/Antlr4.Runtime/Atn/SemanticContext.cs +++ b/Antlr4.Runtime/Atn/SemanticContext.cs @@ -27,6 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +using System; using System.Collections.Generic; using Antlr4.Runtime; using Antlr4.Runtime.Atn; diff --git a/reference/sharpen-all-options.txt b/reference/sharpen-all-options.txt index 7b24e9920..52377cbdc 100644 --- a/reference/sharpen-all-options.txt +++ b/reference/sharpen-all-options.txt @@ -99,6 +99,7 @@ -methodMapping java.io.IOException.IOException(java.lang.Throwable) Sharpen.Extensions.CreateIOException -fieldMapping java.util.Locale.US InvariantCulture -typeMapping java.lang.Comparable System.IComparable +-typeMapping java.lang.Comparable<> System.IComparable -typeMapping java.util.Comparator<> System.Collections.Generic.IComparer -typeMapping java.util.HashSet<> System.Collections.Generic.HashSet -typeMapping java.util.Set<> System.Collections.Generic.ISet