[BUG][FIX] HtmlTag>>name:negated:attribs

Bijan Parsia bparsia at email.unc.edu
Fri Jan 14 01:40:27 UTC 2000


'From Squeak2.7alpha of 24 December 1999 [latest update: #1726] on 13
January 2000 at 8:37:57 pm'!

!HtmlTag methodsFor: 'private-initialization' stamp: 'ls 7/14/1998 22:49'!
name: name0  negated: isNegated0 attribs: attribs0
	"initialize from the given attributes"
	name _ name0.
	isNegated _ isNegated0.
	attribs _ attribs0 ifNil: (Dictionary new).! !


(in 2.7, there are the parens, in 2.6, ther aren't)

#ifNil:, of course, takes a block.


Corrected filein below:

'From Squeak2.7alpha of 24 December 1999 [latest update: #1726] on 13
January 2000 at 8:37:57 pm'!

!HtmlTag methodsFor: 'private-initialization' stamp: 'ls 7/14/1998 22:49'!
name: name0  negated: isNegated0 attribs: attribs0
	"initialize from the given attributes"
	name _ name0.
	isNegated _ isNegated0.
	attribs _ attribs0 ifNil: [Dictionary new].! !






More information about the Squeak-dev mailing list