Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Range's fields is mutable #58

Closed
uselessgoddess opened this issue May 29, 2021 · 2 comments
Closed

Range's fields is mutable #58

uselessgoddess opened this issue May 29, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@uselessgoddess
Copy link
Member

uselessgoddess commented May 29, 2021

public: T Minimum = 0;
public: T Maximum = 0;

/// <summary>
/// <para>Returns minimum value of the range.</para>
/// <para>Возвращает минимальное значение диапазона.</para>
/// </summary>
public readonly T Minimum;
/// <summary>
/// <para>Returns maximum value of the range.</para>
/// <para>Возвращает максимальное значение диапазона.</para>
/// </summary>
public readonly T Maximum;

We must use const to copy readonly logic

@uselessgoddess uselessgoddess added the bug Something isn't working label May 29, 2021
@Konard
Copy link
Member

Konard commented May 29, 2021

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

@uselessgoddess
Copy link
Member Author

Fixed #61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants