You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes, all the values flowing to a call to toString have overridden Object.toString, even if the expression's declared type doesn't do so.
The Determinism Checker should track this information.
This will enable it to determine what calls to Object.toString are legal, eliminating a source of false positives.
One possible design would have this type hierarchy:
@OverridesToStringUnknown -- the value's run-time class might not override Object.toString
|
@OverridesToString -- the value's run-time class definitely overrides Object.toString
The text was updated successfully, but these errors were encountered:
Sometimes, all the values flowing to a call to toString have overridden Object.toString, even if the expression's declared type doesn't do so.
The Determinism Checker should track this information.
This will enable it to determine what calls to Object.toString are legal, eliminating a source of false positives.
One possible design would have this type hierarchy:
The text was updated successfully, but these errors were encountered: