We are working on an experiment feature based on Recheck. During our testing on community projects, we have observed some unusual typing behaviors that we believe are caused by a bug in Recheck.
This appears to be an issue in the utest runner library -- the code that is generated by the macros in that library do not pass the checks in -Xcheck-macros.
We are working on an experiment feature based on
Recheck
. During our testing on community projects, we have observed some unusual typing behaviors that we believe are caused by a bug inRecheck
.Compiler version
3.3.1-RC1-bin-SNAPSHOT-nonbootstrapped-git-c1809bc
Minimized code
I couldn't minimize the code that triggers the issue. Here is the instruction on how to reproduce the error:
-Yrecheck-test
infansi
, by addingdef scalacOptions = Seq("-Yrecheck-test")
tobuild.sc
(to bothFansiMainModule
andFansiTestModule
)community-build/testOnly -- *fansi
Output
It seems the default argument is not found on
class fansi.Str
, so we getNoType
fromfansi.Str.apply$default$2
.The code of
fansi.Str
looks like:and the place causing the error:
cc: @e45lee @olhotak