checked the number of instance/class variables against the internal limit

This commit is contained in:
hyunghwan.chung
2018-01-07 14:59:54 +00:00
parent 171b02449e
commit 9ae27ee39a
6 changed files with 78 additions and 98 deletions

View File

@ -231,12 +231,13 @@ class X(Object)
self.yy := 9.
}
}
class(#byte(3)) Y(X)
{
}
class (#word(2)) Z(Y)
##class(#byte(3)) Y(X)
class(#pointer) Y(X)
{
}
##class (#word(2)) Z(Y)
##{
##}
##class InetSocketAddress(SocketAddress)
##{
@ -381,8 +382,14 @@ class MyObject(Object)
{
| s conact inact outact |
s := Y new.
s:= X new: 20.
s basicSize dump.
'****************************' dump.
s := Y new: 10.
s x.
s basicAt: 1 put: 20.
s dump.
s basicSize dump.
'****************************' dump.