Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
This commit is contained in:
parent
4f4501abbc
commit
80a0dc295b
1 changed files with 2 additions and 2 deletions
|
|
@ -28,8 +28,8 @@ ObjectA's ``name`` is "|ObjectA|RootObj|".
|
|||
ObjectB's ``name`` is "|ObjectB|ObjectA|RootObj|".
|
||||
|
||||
Now to check for ``x of ObjectB`` we need to check
|
||||
for ``x.typ.name.hasSubstring("|ObjectB|")``. In the actual implementation,
|
||||
however, we could also use a
|
||||
for ``x.typ.name.endsWith("|ObjectB|ObjectA|RootObj|")``.
|
||||
In the actual implementation, however, we could also use a
|
||||
hash of ``package & "." & module & "." & name`` to save space.
|
||||
|
||||
]#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue