scala / compiler-benchmark

Benchmarks for scalac
Other
68 stars 31 forks source link

Make scala corpus less cycle prone #80

Closed retronym closed 6 years ago

retronym commented 6 years ago

The compiler from https://github.com/scala/scala/pull/6871 hits a cyclic reference error.

https://github.com/scala/scala/pull/6871#issuecomment-410147358

Work around this by adding explicit types.

adriaanm commented 6 years ago

Thanks, I wonder why a bootstrap didn't hit this -- had 2.13.x already acquired the explicit type?

retronym commented 6 years ago

I think it is because over here we jointly compile reflect / compiler sources. ReflectGlobal, in src/compiler, overrides the overloaded transformedType. None of those have type annotations.