Skip to content

illegal cyclic reference involving type S #11640

@fdietze

Description

@fdietze

I have code that compiles well on Scala 2.11 and 2.12, but on 2.13 it throws this error:

[error] /home/travis/build/fdietze/scala-js-d3v4/src/main/scala/D3.scala:34:31: illegal cyclic reference involving type S
[error]     type ContinuousScale[S <: ContinuousScale[S]] = d3scale.ContinuousScale[S]
[error]                               ^

(https://travis-ci.org/fdietze/scala-js-d3v4/jobs/560239423#L722)

Overview of other builds for different scala versions: https://travis-ci.org/fdietze/scala-js-d3v4/builds/560239419

code: https://github.com/fdietze/scala-js-d3v4/blob/master/src/main/scala/D3.scala#L34

Is this a bug, or am I overlooking something for Scala 2.13?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions