Skip to content

Transfer literal arrays as integral part of methods

Compare
Choose a tag to compare
@dionisiydk dionisiydk released this 27 Mar 23:01
· 81 commits to master since this release
d52913e

Force transfer by deep copy for array literals and simple value strategy for bytearray literals.
Literals are integral part of method, so they must be transferred as a whole thing.

Without this change following script produces an unexpected proxy on remote side:

remotePeer evaluate: [ #[1 2 3] isSeamlessProxy]. "==>true which is wrong"

With this change it will be a normal array on remote side inside transferred method instance