You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: value tailLabel624 does not take parameters
Running with -Ycheck:all and -Ycheck:firstTransform I get the following error:
[trace] Stack trace suppressed: run last compile:compileIncremental for the full output.
[error] (compile:compileIncremental) java.lang.AssertionError: assertion failed: error at /Users/ollie/dev/scalastyle/src/main/scala/org/scalastyle/Checker.scala:184
[error] type mismatch:
[error] found : Array[Class[_]]
[error] required: Class[_]
[error] tree = Typed(JavaSeqLiteral(List(), TypeTree[RefinedType(TypeRef(ThisType(TypeRef(NoPrefix,lang)),Class), java$lang$Class$$T, TypeBounds(TypeRef(ThisType(TypeRef(NoPrefix,scala)),Nothing), TypeRef(ThisType(TypeRef(NoPrefix,scala)),Any)))]),TypeTree[RefinedType(TypeRef(ThisType(TypeRef(NoPrefix,scala)),Array), scala$Array$$T, TypeAlias(RefinedType(TypeRef(ThisType(TypeRef(NoPrefix,lang)),Class), java$lang$Class$$T, TypeBounds(TypeRef(ThisType(TypeRef(NoPrefix,scala)),Nothing), TypeRef(ThisType(TypeRef(NoPrefix,scala)),Any))), 0))])
Removing the block containing that line I get the original "taillabel does not take parameters" error instead of "type mismatch" when compiled with -Ycheck:all.
Any hints on how to better debug this?
The text was updated successfully, but these errors were encountered:
Trying to compile scalastyle with dotty at commit: matthewfarwell/scalastyle@92b81e0
I get the compiler error:
Running with -Ycheck:all and -Ycheck:firstTransform I get the following error:
linking to this line in Checker.scala:
Removing the block containing that line I get the original "taillabel does not take parameters" error instead of "type mismatch" when compiled with -Ycheck:all.
Any hints on how to better debug this?
The text was updated successfully, but these errors were encountered: