It has been almost two weeks since i created this post, so I assume that I won’t receive a reply anymore. My only solution so far is to analyze the code and convert every parametric with mutable member into a non-parametric class.
While this may sound easy, I have other parametric classes that also utilize my parametric with mutable member. This means that I’ll need to convert those classes into multiple hard-typed ones as well, and the complexity increases exponentially.
Additionally, I have normal parametric functions that also use those parametric classes. Consequently, I would need to split those into many different functions.
At this point, I believe the only ‘viable’ solution would be to write a parser myself that handles this, because otherwise, all my work from the last couple of months will be lost as soon as this bug is fixed without substitution.
All this still doesn’t include that i would also need to substitute every usage of the parametric functions and classes in my normal code.
Since I don’t know if we will get mutable members before this is fixed, it might be possible that all my effort to find a workaround will be wasted anyway.
I guess I will just say goodbye with a heavy heart, since pushing this further does not look promising. In case we get mutable members, feel free to let me know, as I would love to come back to Verse.