From 0d86dee77610df4e0f497388002068c95470ce08 Mon Sep 17 00:00:00 2001 From: Andrey Breslav Date: Fri, 31 Aug 2012 12:32:50 +0400 Subject: [PATCH] Chars only range to other chars --- compiler/frontend/src/jet/Numbers.jet | 6 ------ 1 file changed, 6 deletions(-) diff --git a/compiler/frontend/src/jet/Numbers.jet b/compiler/frontend/src/jet/Numbers.jet index 190d036c0ff..08c3c9614e7 100644 --- a/compiler/frontend/src/jet/Numbers.jet +++ b/compiler/frontend/src/jet/Numbers.jet @@ -377,12 +377,6 @@ public class Char : Number, Comparable { public fun mod(other : Byte) : Int // public fun mod(other : Char) : Int - public fun rangeTo(other : Double) : DoubleRange - public fun rangeTo(other : Float) : FloatRange - public fun rangeTo(other : Long) : LongRange - public fun rangeTo(other : Int) : IntRange - public fun rangeTo(other : Short) : ShortRange - public fun rangeTo(other : Byte) : CharRange public fun rangeTo(other : Char) : CharRange public fun inc() : Char