SOMns icon indicating copy to clipboard operation
SOMns copied to clipboard

Shouldn't split/duplicate SInvokables

Open smarr opened this issue 7 years ago • 0 comments

Currently, BlockNodes split SInvokable objects. This seems wrong and highly problematic for two reasons:

  • SInvokable are language-level objects. Splitting/duplicating causes issues with object identity, and exposes implementation-level concerns.
  • Blocks are checked for identity based on their methods, thus, this will cause problems in dispatch chains and unnecessarily pollute caches.

Relevant code bits:

This is also an issue in TruffleSOM, likely in Grace @richard-roberts and TruffleMate @charig.

smarr avatar Jan 04 '18 22:01 smarr