Annotate transpiled files with the version of Axel used to generate them, and don't allow macro imports from incompatible versions #62
Labels
improvement
Adding a new feature, improving an existing feature, etc.
macro expansion
Anything related to Axel macro expansion.
proposal
Ideas for future improvement, that aren't (yet) concretely agreed upon.
If e.g. the macro definition semantics changes significantly between Axel versions, importing macros from old versions of Axel may cause incorrect behavior. Should we tag files with e.g.
axelTranspilerVersion = "0.0.12"
and then, whenever a macro is imported, importaxelTranspilerVersion
too and check its compatibility?Also, what would an upgrade process look like? Presumably, "Delete the old Haskell file* and re-run Axel"?
*Maybe with e.g.
axel project clean --force
, see #59.The text was updated successfully, but these errors were encountered: