linksplatform / Ranges

LinksPlatform's Platform.Ranges Class Library
https://linksplatform.github.io/Ranges
The Unlicense
4 stars 1 forks source link

Range's fields is mutable #58

Closed uselessgoddess closed 3 years ago

uselessgoddess commented 3 years ago

https://github.com/linksplatform/Ranges/blob/3c683a72bfa23f80afd6d4d6c92aa641995a8837/cpp/Platform.Ranges/Range%5BT%5D.h#L6-L8 https://github.com/linksplatform/Ranges/blob/3c683a72bfa23f80afd6d4d6c92aa641995a8837/csharp/Platform.Ranges/Range%5BT%5D.cs#L21-L31

We must use const to copy readonly logic

Konard commented 3 years ago

I have created an issue about this in the translator's repository: https://github.com/linksplatform/RegularExpressions.Transformer.CSharpToCpp/issues/56

uselessgoddess commented 3 years ago

Fixed #61