src/HOL/Library/Efficient_Nat.thy
changeset 39781 2053638a2bf2
parent 39302 d7728f65b353
child 40607 30d512bf47a7
     1.1 --- a/src/HOL/Library/Efficient_Nat.thy	Wed Sep 29 09:21:26 2010 +0200
     1.2 +++ b/src/HOL/Library/Efficient_Nat.thy	Wed Sep 29 10:05:44 2010 +0200
     1.3 @@ -303,7 +303,7 @@
     1.4    def equals(that: Nat): Boolean = this.value == that.value
     1.5  
     1.6    def as_BigInt: BigInt = this.value
     1.7 -  def as_Int: Int = if (this.value >= Int.MinValue && this.value <= Int.MaxValue)
     1.8 +  def as_Int: Int = if (this.value >= scala.Int.MinValue && this.value <= scala.Int.MaxValue)
     1.9        this.value.intValue
    1.10      else error("Int value out of range: " + this.value.toString)
    1.11