Skip to content

From v3.6.0 logging message cannot be compiled properly #191

Description

@Opalo

Hi,

With the following piece of code:

logger.info(s"Message with id=${msg.getId}, submittedAt=${msg.getSubmittedAt} will be dropped.")

I'm getting the compiler error:

[ERROR] <CUT>/src/main/scala/<CUT>/SubscriberWithScheduling.scala:36: error: no `: _*' annotation allowed here
[INFO] (such annotations are only allowed in arguments to *-parameters)
[INFO]           logger.info(s"Message with id=${msg.getId}, submittedAt=${msg.getSubmittedAt} will be dropped.")
[INFO]    

It works with v. 3.5.0.
What's the problem?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions