summaryrefslogtreecommitdiff
path: root/no-plugin-tests/src
diff options
context:
space:
mode:
authorJack Koenig2021-09-08 14:31:10 -0700
committerGitHub2021-09-08 14:31:10 -0700
commit2b51053fe7744d6860416c7de8bcb99d4aa9e532 (patch)
treefeb5c83ae84d0bde40b4c2734dd2cd4cfd08fffe /no-plugin-tests/src
parentff1bcb09d9bd416fcba68496b7cef1d0e454dfd5 (diff)
Restore return type of BaseModule.toTarget to ModuleTarget (#2117)
Definition/Instance introduced the need for representing the targets of instances as InstanceTargets. This original implementation changed the return type of BaseModule.toTarget to express this need. This is a backwards incompatible change that is actually unnecessary because it is impossible for users to get references to the internal InstanceClone objects, instead only accessing such modules via Instance[_] wrappers and cloned Data. We restored the old API by adding a new internal method "getTarget" which will give the correct targets for InstanceClones while maintaining the API of BaseModule.toTarget.
Diffstat (limited to 'no-plugin-tests/src')
0 files changed, 0 insertions, 0 deletions