Iltotore / iron

Strong type constraints for Scala
https://iltotore.github.io/iron/docs/
Apache License 2.0
427 stars 37 forks source link

Warnings issued when publishing (locally) a dependent project #248

Closed vreuter closed 6 days ago

vreuter commented 1 week ago

Hello, I'm using iron as a dependency, and when I publishLocal my project I get the following warnings among the output from sbt:

...
[warn] -- Warning: main/src/io/github/iltotore/iron/RefinedTypeOps.scala:49:13 --------
[warn] No DRI found for query: fromIronType
[warn] -- Warning: main/src/io/github/iltotore/iron/RefinedTypeOps.scala:66:6 ---------
[warn] No DRI found for query: fromIronType
-- Warning: main/src/io/github/iltotore/iron/RefinedTypeOps.scala:49:13 --------
java.lang.StringIndexOutOfBoundsException: endIndex: 0 out of range: [2, 2]
    at com.vladsch.flexmark.util.sequence.SequenceUtils.validateStartEnd(SequenceUtils.java:1159)
    at com.vladsch.flexmark.util.sequence.SegmentedSequenceTree.subSequence(SegmentedSequenceTree.java:126)
    at com.vladsch.flexmark.ext.wikilink.WikiNode.setLinkChars(WikiNode.java:204)
    at com.vladsch.flexmark.ext.wikilink.WikiNode.<init>(WikiNode.java:98)
1 warning found
...

I'm on Scala 3.4.2, sbt 1.10.0, and iron 2.6.0