help-smalltalk
[Top][All Lists]
Advanced

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

[Help-smalltalk] [bug] Class variables only bound in methods following t


From: Damien Pollet
Subject: [Help-smalltalk] [bug] Class variables only bound in methods following them
Date: Thu, 26 Mar 2009 15:42:29 -0700

Issue status update for http://smalltalk.gnu.org/node/286 Post a follow up: http://smalltalk.gnu.org/project/comments/add/286

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

Might be by design, but it's confusing… I suppose the first B resolves
to a non-existent global ?


Object subclass: Fail [
   a [ stdout << 'a:' << B; nl ]
   B := 'hi there'.
   c [ stdout << 'c:' << B; nl ]
]

st> Fail new a; c
a:nil
c:hi there
a Fail
st>







reply via email to

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