[vwnc] category: or package: (vw 7.6 nc)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
jb
Reply | Threaded
Open this post in threaded view
|

[vwnc] category: or package: (vw 7.6 nc)

jb
Hi,

in AppDevGuide on page 5-4 the following message for creating a class is shown:

Smalltalk defineClass: #MyClass
superclass: #{Core.Object}
indexedType: #none
private: false
instanceVariableNames: 'oneVar twoVar threeVar more '
classInstanceVariableNames: ''
imports: ''
package: 'MyStuff'

But a method with keyword package: does'nt exist, it has to be category.

The sentence at the bottom of page 5-4

The containing package is shown in the category: fields.

is wrong also. If you create a class using the dialog, the category: string in the resulting class definition is empty.

Johannes



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] category: or package: (vw 7.6 nc)

Andres Valloud-6
Johannes,
 
Thanks for reporting this.  AR 54428 has been created to track the issue.
 
Andres.


From: [hidden email] [mailto:[hidden email]] On Behalf Of Johannes Brauer
Sent: Saturday, May 24, 2008 12:09 PM
To: VWNC
Subject: [vwnc] category: or package: (vw 7.6 nc)

Hi,

in AppDevGuide on page 5-4 the following message for creating a class is shown:

Smalltalk defineClass: #MyClass
superclass: #{Core.Object}
indexedType: #none
private: false
instanceVariableNames: 'oneVar twoVar threeVar more '
classInstanceVariableNames: ''
imports: ''
package: 'MyStuff'

But a method with keyword package: does'nt exist, it has to be category.

The sentence at the bottom of page 5-4

The containing package is shown in the category: fields.

is wrong also. If you create a class using the dialog, the category: string in the resulting class definition is empty.

Johannes



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc