- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.1k
 
Closed
Description
Compiler version
3.1.0
Minimized code
Based on https://github.com/chadselph/reproduce-dotty-cyclical-error
package example
import software.amazon.awssdk.services.cloudwatchlogs.model.GetLogEventsRequest
object DottyCylicalRefError {
  GetLogEventsRequest
    .builder()
    .limit(0)
}Output
sbt:root> doc
[info] Main Scala API documentation to /home/keirlawson/Code/reproduce-dotty-cyclical-error/target/scala-3.1.0/api...
exception caught when loading trait Builder: Cyclic reference involving object GetLogEventsRequest
exception caught when loading module class GetLogEventsRequest$: Cyclic reference involving object GetLogEventsRequest
Cyclic reference involving object GetLogEventsRequest while compiling /home/keirlawson/Code/reproduce-dotty-cyclical-error/target/scala-3.1.0/classes/example/DottyCylicalRefError.tasty
Expectation
No cyclic reference as compile passes fine.
paualarco