Skip to content

Staged replacement of the use of evaluate* and get* with evaluate() and value() [4/N]#1164

Merged
protonu merged 1 commit intomainfrom
use_polymorphic_vals_4
Nov 4, 2023
Merged

Staged replacement of the use of evaluate* and get* with evaluate() and value() [4/N]#1164
protonu merged 1 commit intomainfrom
use_polymorphic_vals_4

Conversation

@protonu
Copy link
Collaborator

@protonu protonu commented Oct 27, 2023

Replaces uses of evaluate(Int, Bool, Double) with evaluate which returns a PolymorphicValue.

This also replaces the uses of get(Int, Bool, Double) with value().

This PR is the fourth and final one of them to fix the issue. In the final PR, the older get* and evaluate* methods will be removed.

Fixes #643

@protonu protonu requested a review from zasdfgbnm October 27, 2023 00:20
@protonu
Copy link
Collaborator Author

protonu commented Oct 27, 2023

!build

@protonu protonu force-pushed the use_polymorphic_vals_4 branch 4 times, most recently from 262d08d to 48467f9 Compare November 3, 2023 15:54
…nd value() [4/4]

Final of this stack and removes the old APIs.
@protonu protonu force-pushed the use_polymorphic_vals_4 branch from 48467f9 to cfdeeec Compare November 3, 2023 16:56
@protonu
Copy link
Collaborator Author

protonu commented Nov 3, 2023

!build

@protonu protonu merged commit be6044a into main Nov 4, 2023
@protonu protonu deleted the use_polymorphic_vals_4 branch November 4, 2023 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cleanup legacy methods in Val

2 participants