Skip to content

Rework the Var module

Pierre-Emmanuel Wulfman requested to merge split_var into dev
  • has a changelog entry

Change to the Var module

  • Move the Var module from Simple_utils to Stage_common (for future work on interfaces)
  • Rework signature of_name -> of_input_var. to_name -> to_name_exn
  • Add a location field
  • Add is_name to check for variable name without using to_name

Change to the codebase :

  • Remove usage of to_name from purification.
  • Replace string types in the pipeline for the correct variable type
  • Remove some incorrect usage of to_name
  • Remove unnecessary name field from Declaration_constant
Edited by Pierre-Emmanuel Wulfman

Merge request reports