Cannot use text algebra in scala 3.1.0
See original GitHub issueThe definition of the text
object in the doodle.syntax
package object clashes with the definition of the text
function in TextSyntax
Example:
import doodle.java2d.algebra.Algebra
import doodle.java2d.Drawing
import doodle.syntax.*
text[Algebra, Drawing]("scsdcs")
Compiler output:
Toplevel definition text is defined in
/Users/jemartin/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/creativescala/doodle-core_3/0.10.0/doodle-core_3-0.10.0.jar(doodle/syntax/package.class)
and also in
/Users/jemartin/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/creativescala/doodle-core_3/0.10.0/doodle-core_3-0.10.0.jar(doodle/syntax/TextSyntax.class)
One of these files should be removed from the classpath.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Scala 3.2.0 reveals "non-local return' defects #2822 - GitHub
SN artifacts currently would be published using Scala 3.1.3 and that probably would not change until the first release of Scala LTS.
Read more >Scala 3.1.0 released!
Hello from the Scala 3 team! It has already been six weeks since we have announced the release candidate for the first minor...
Read more >Macros - Scala 3
Lifting Expressions Here's a compiler that maps an expression given in the interpreted language to quoted Scala code of type Expr[Int] . The...
Read more >Migration Guide: SQL, Datasets and DataFrame - Spark 3.1.1 ...
The datasources take into account the SQL config spark.sql. ... In Spark 3.1, path option cannot coexist when the following methods are called...
Read more >A Deep Dive Into Spark Datasets and DataFrames Using Scala
In this article, I am going to show you how to use Spark Datasets and ... Please note that a Dataset has also...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think I’ll follow the design in Cats and Cats Effect and shift “import everything” out of the package object and into an object named
all
. This will break existing code.will change to
0.10 hasn’t been officially released yet so it’s ok to include as part of the first offical 0.10 release.
Should all be good to go in the next release.