help-smalltalk
[Top][All Lists]
Advanced

[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 http://smalltalk.gnu.org/node/649 Post a follow up: http://smalltalk.gnu.org/project/comments/add/649

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]