version constant

String const version

Current bundle format version identifier.

Increment when making breaking changes to the serialization format. A reader loads only its own version: 2.0 is the AST of tom_ast_model 0.3 (analyzer 14's node shapes), and 1.0 bundles are not read, by decision, because bundles are generated by a toolchain whose versions match the app's.

Implementation

static const String version = '2.0';