Skip to content

Failed to compile project in Scala SDK 2.13  #174

@Y2Nk4

Description

@Y2Nk4

Expected Behavior

Compile project in Scala SDK 2.13

Current Behavior

While compiling the project with SDK 2.13, the compiler would throw illegal cyclic inheritance involving trait Iterable.

J:\Code\OfficeHours\src\main\scala\model\OfficeHoursServer.scala:18:58
illegal cyclic inheritance involving trait Iterable
  var usernameToSocket: Map[String, SocketIOClient] = Map()

image

Possible Solution

Switching Scala SDK back to 2.12.9 would work.

image

I saw some posts about the illegal cyclic inheritance error in StackOverflow, but not sure why, it might be an issue with Scala.

I recommend switching Scala SDK back to 2.12.9 if you meet the same issue before anyone figures out what causes the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions