[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] [bug] Error when overriding method min:

From: Roman
Subject: [Help-smalltalk] [bug] Error when overriding method min:
Date: Thu, 02 Aug 2012 06:11:19 -0700

Issue status update for Post a follow up:

Project:      GNU Smalltalk
Version:      <none>
Component:    Base classes
Category:     bug reports
Priority:     normal
Assigned to:  Unassigned
Reported by:  Roman
Updated by:   Roman
Status:       active

I'm trying to override method min:. However, there is an overflow error
when I added a debug print.

!Number methodsFor: ''!
min: aNumber
Transcript show: 'in min'.
 ^aNumber > self ifTrue: [self] ifFalse: [aNumber].

reply via email to

[Prev in Thread] Current Thread [Next in Thread]