Shalu
Shalu

Reputation: 11

Getting error after upgarding scala to version 2.13.6

I am getting this error after i upgraded scala version to 2.13.6:

value ++ is not a member of java.util.LinkedHashMap[K,V]

Following is the line which is throwing an error:

 case l => Dsl.map(new LinkedHashMap() ++ l)

Upvotes: 1

Views: 205

Answers (1)

Jarrod Baker
Jarrod Baker

Reputation: 1220

You probably need to check the import statements in your file and make sure that you're importing the appropriate Scala collection. The ++ operator is defined on the Scala implementation of Map.

Upvotes: 1

Related Questions