-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Labels
L-Pretty-printingPretty-printing ASTs or values into a string representation.Pretty-printing ASTs or values into a string representation.L-Type inferenceThe process of inferring the type of a Swarm expression.The process of inferring the type of a Swarm expression.T-UIInvolves the user interface.Involves the user interface.Z-FeatureA new feature to be added to the game.A new feature to be added to the game.
Description
After typechecking, and before pretty-printing, it should be pretty easy to go through and copy inferred type annotations into the slot where we store explicit type annotations.
I don't think this should be the default, but we could add a flag so you could say e.g. swarm format --add-types or something like that.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
L-Pretty-printingPretty-printing ASTs or values into a string representation.Pretty-printing ASTs or values into a string representation.L-Type inferenceThe process of inferring the type of a Swarm expression.The process of inferring the type of a Swarm expression.T-UIInvolves the user interface.Involves the user interface.Z-FeatureA new feature to be added to the game.A new feature to be added to the game.