Skip to content

ybasket/squants-compiler-bug-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal example for scala/bug#11734

Fails to compile with Scala 2.13, succeeds with 2.12.10. Replacing the wildcard import in one of the files in the motion package solves the problem on 2.13 as well, problematic seems only the cycle between class Velocity extends TimeIntegral[Acceleration] and class Acceleration extends TimeDerivative[Velocity] when both reference each other via a type alias defined in the squants package object.

About

A simple demo repository demonstrating a scalac bug

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages