propensive / contextual

Statically-checked string interpolation in Scala
https://soundness.dev/contextual/
251 stars 23 forks source link

contextual version 3.0.0 prints interpolated text during compile #65

Closed balhoff closed 3 years ago

balhoff commented 3 years ago

Very minor issue, but I think there may be some debugging statements left in. For example, with my interpolator:

scala> import org.phenoscape.sparql.SPARQLInterpolation._
import org.phenoscape.sparql.SPARQLInterpolation._

scala> val s = sparql"hello"
Literals: 'List(hello)'
s: org.phenoscape.sparql.SPARQLInterpolation.QueryText = QueryText(hello)

I don't expect to see Literals: 'List(hello)'.

propensive commented 3 years ago

Looks like I must have left a println in there... I'll sort this out and publish 3.0.1 asap.

balhoff commented 3 years ago

@propensive, thanks—I see 3.0.1 but Prefix seems to have disappeared again in that release. Is that expected?

propensive commented 3 years ago

I'll have a look at what I just published... I guess I've made a mistake with the branch I published from, but for now: hold on for 3.0.2. :/

danslapman commented 3 years ago

Any news on 3.0.2?