ice icon indicating copy to clipboard operation
ice copied to clipboard

SlicedData slices should be read-only

Open bernardnormier opened this issue 6 years ago • 1 comments

They are currently read-only in Swift but not other language mappings. They should be read-only in all language mappings, unless it makes the mapping harder to use.

  • [x] C++
  • [x] C#
  • [x] Java
  • [ ] JavaScript/TypeScript
  • [x] MATLAB
  • ~~PHP~~
  • [ ] Python
  • [x] Ruby
  • [x] Swift

bernardnormier avatar Jun 26 '19 18:06 bernardnormier

PHP: we could use https://php.watch/versions/8.1/readonly, but then we would also need to add types, and we currently don't do that anywhere else.

bernardnormier avatar Jul 26 '24 17:07 bernardnormier

Not essential for Python and JS.

bernardnormier avatar Sep 25 '24 18:09 bernardnormier