Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix path in "this ksy requires compiler version at least $VERSION, bu…
Browse files Browse the repository at this point in the history
…t you have $KS_VERSION" error

Errors count: 51 -> 50 (-1). Fixed:

[info] - meta_high_version *** FAILED ***
[info]   [meta_high_version.ksy: /meta:
[info]          error: this ksy requires compiler version at least 99.99.99, but you have $KS_VERSION
[info]   ]
[info]     did not equal
[info]   [meta_high_version.ksy: /meta/ks-version:
[info]          error: this ksy requires compiler version at least 99.99.99, but you have $KS_VERSION
[info]   ] (SimpleMatchers.scala:34)
Mingun committed Sep 8, 2024
1 parent 6830e6b commit 4ed5981
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -92,7 +92,7 @@ object MetaSpec {
ParseUtils.getOptValueStr(srcMap, "ks-version", path).foreach { (verStr) =>
val ver = KSVersion.fromStr(verStr)
if (ver > KSVersion.current)
throw KSYParseError.incompatibleVersion(ver, KSVersion.current, path)
throw KSYParseError.incompatibleVersion(ver, KSVersion.current, path :+ "ks-version")
}

val endian: Option[Endianness] = Endianness.fromYaml(srcMap.get("endian"), path)

0 comments on commit 4ed5981

Please sign in to comment.