Code Monkey home page Code Monkey logo

Comments (8)

t3hnar avatar t3hnar commented on August 22, 2024

@ahjohannessen my bad, will fix it, can you wait until akka 2.4 release or want it now?

from eventstore.jvm.

ahjohannessen avatar ahjohannessen commented on August 22, 2024

I can wait, thanks Yaroslav 👍

from eventstore.jvm.

ahjohannessen avatar ahjohannessen commented on August 22, 2024

Btw, as a part of moving to 2.4 it would be nice if you also bumped to scala 2.11.7 :)

from eventstore.jvm.

t3hnar avatar t3hnar commented on August 22, 2024

I cannot bump to 2.11.7... there is a bug in compiler, however it works nice with 2.11.7 at runtime

from eventstore.jvm.

ahjohannessen avatar ahjohannessen commented on August 22, 2024

I noticed that when I tried to compile it with 2.11.7, somehow it has issues compiling:

package eventstore

object SystemEventType {
  val streamDeleted = "$streamDeleted"
  val statsCollection = "$statsCollected"
  val linkTo = "$>"
  val metadata = "$metadata"
  val userCreated = "$UserCreated"
  val userUpdated = "$UserUpdated"
  val passwordChanged = "$PasswordChanged"
}

with metadata and streamDeleted being problematic.

from eventstore.jvm.

ahjohannessen avatar ahjohannessen commented on August 22, 2024

I found a workaround that makes scalac 2.11.7 happy:

  val streamDeleted = "$"+"streamDeleted"
  val metadata = "$"+"metadata"

from eventstore.jvm.

ahjohannessen avatar ahjohannessen commented on August 22, 2024

If you leave -Xlint out I think it should work:

scalacOptions := Seq(
  "-encoding", "UTF-8", "-unchecked", "-deprecation", "-feature"/*, "-Xlint"*/
)

from eventstore.jvm.

ahjohannessen avatar ahjohannessen commented on August 22, 2024

Just to be complete, not that I think 2.11.7 is that important, just sharing my findings :) You can turn off the “missing interpolator” warning individually with -Xlint:_,-missing-interpolator
It is a known compiler bug and I have made scalac devs aware of this particular issue in the scala gitter channel. My guess is that it is probably not fixed until 2.12 or so.

from eventstore.jvm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.