Skip to content
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

Benchmarks compilation fails with error #308

Closed
a-khakimov opened this issue Jul 25, 2024 · 3 comments
Closed

Benchmarks compilation fails with error #308

a-khakimov opened this issue Jul 25, 2024 · 3 comments

Comments

@a-khakimov
Copy link

[info] compiling 12 Scala sources to /.../tethys/modules/benchmarks/target/scala-3.3.0/classes ...
[error] /...tethys/library/src/scala/quoted/Expr.scala: No given instance of type tethys.JsonReader[collection.mutable.LinkedHashMap[String, String]] was found.
[error] I found:
[error] 
[error]     tethys.JsonReader.mapReader[String, String, collection.mutable.LinkedHashMap](
[error]       tethys.readers.KeyReader.stringKeyReader, tethys.JsonReader.stringReader,
[error]       new tethys.compat.CollectionBuilder.MapFactoryCollectionBuilder[Any, Any, Map]
[error]         (scala.collection.immutable.Map):
[error]         tethys.compat.CollectionBuilder.MapFactoryCollectionBuilder[Any, Any, Map]
[error]     )
[error] 
[error] But Found:    tethys.compat.CollectionBuilder.MapFactoryCollectionBuilder[Any, Any, Map]
[error] Required: tethys.compat.CollectionBuilder[(String, String),
[error]   collection.mutable.LinkedHashMap[String, String]].
[warn] there were 2 deprecation warnings; re-run with -deprecation for details
[warn] one warning found
[error] one error found
[error] (benchmarks / Compile / compileIncremental) Compilation failed
@goshacodes
Copy link
Contributor

Hi, benchmarks will be fixed in this PR
https://github.com/tethys-json/tethys/pull/285/files

@goshacodes
Copy link
Contributor

Fixed here #311

@goshacodes
Copy link
Contributor

@dos65 close this as completed, please

@dos65 dos65 closed this as completed Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants