Skip to content

Unable to change the type of name PUSH! from VALUE to METHOD. #772

Answered by eliaslfox
Inc0n asked this question in Help!
Discussion options

You must be logged in to vote

It's not currently possible. Changing a method to a value would require un-defining the method's class and all of that classes instances. This is one of several places where new definitions can significantly conflict Coalton's internal state. The eventual goal is to resolve these with restarts. See #655 for another example.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Inc0n
Comment options

Answer selected by Inc0n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help!
Labels
None yet
2 participants