We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
isType
1 parent 981b309 commit 0a824b7Copy full SHA for 0a824b7
compiler/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -600,7 +600,7 @@ object SymDenotations {
600
601
/** Is this a denotation of a stable term (or an arbitrary type)? */
602
final def isStable(implicit ctx: Context) =
603
- !is(Ghost) && (isType || is(Stable) || !(is(UnstableValue) || info.isInstanceOf[ExprType]))
+ isType || !is(Ghost) && (is(Stable) || !(is(UnstableValue) || info.isInstanceOf[ExprType]))
604
605
/** Is this a "real" method? A real method is a method which is:
606
* - not an accessor
0 commit comments