This PR changes the definition of Version from a static *ast.StringExpr to ast.Expr so that it can a value which can be evaluated at runtime when running the program rather than just static strings. Anywhere else where want to know the version and we don't have an evaluator yet, we check if the version is a static string and get its value, otherwise we skip it.
Fixes #508
This PR changes the definition of
Version
from a static*ast.StringExpr
toast.Expr
so that it can a value which can be evaluated at runtime when running the program rather than just static strings. Anywhere else where want to know the version and we don't have an evaluator yet, we check if the version is a static string and get its value, otherwise we skip it.