Skip to content

Bumb TASTy minor version #13386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 30, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions tasty/src/dotty/tools/tasty/TastyFormat.scala
Original file line number Diff line number Diff line change
Expand Up @@ -272,34 +272,34 @@ object TastyFormat {
*/
final val header: Array[Int] = Array(0x5C, 0xA1, 0xAB, 0x1F)

/**Natural number. Each increment of the `MajorVersion` begins a
* new series of backward compatible TASTy versions.
/** Natural number. Each increment of the `MajorVersion` begins a
* new series of backward compatible TASTy versions.
*
* A TASTy file in either the preceeding or succeeding series is
* incompatible with the current value.
* A TASTy file in either the preceeding or succeeding series is
* incompatible with the current value.
*/
final val MajorVersion: Int = 28

/**Natural number. Each increment of the `MinorVersion`, within
* a series declared by the `MajorVersion`, breaks forward
* compatibility, but remains backwards compatible, with all
* preceeding `MinorVersion`.
/** Natural number. Each increment of the `MinorVersion`, within
* a series declared by the `MajorVersion`, breaks forward
* compatibility, but remains backwards compatible, with all
* preceeding `MinorVersion`.
*/
final val MinorVersion: Int = 1
final val MinorVersion: Int = 2

/**Natural Number. The `ExperimentalVersion` allows for
* experimentation with changes to TASTy without committing
* to any guarantees of compatibility.
/** Natural Number. The `ExperimentalVersion` allows for
* experimentation with changes to TASTy without committing
* to any guarantees of compatibility.
*
* A zero value indicates that the TASTy version is from a
* stable, final release.
* A zero value indicates that the TASTy version is from a
* stable, final release.
*
* A strictly positive value indicates that the TASTy
* version is experimental. An experimental TASTy file
* can only be read by a tool with the same version.
* However, tooling with an experimental TASTy version
* is able to read final TASTy documents if the file's
* `MinorVersion` is strictly less than the current value.
* A strictly positive value indicates that the TASTy
* version is experimental. An experimental TASTy file
* can only be read by a tool with the same version.
* However, tooling with an experimental TASTy version
* is able to read final TASTy documents if the file's
* `MinorVersion` is strictly less than the current value.
*/
final val ExperimentalVersion: Int = 1

Expand Down