We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3097457 commit df716f4Copy full SHA for df716f4
compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -67,7 +67,7 @@ object Typer {
67
assert(tree.span.exists, i"position not set for $tree # ${tree.uniqueId} of ${tree.getClass} in ${tree.source}")
68
69
/** An attachment for GADT constraints that were inferred for a pattern. */
70
- val InferredGadtConstraints = new Property.Key[core.GadtConstraint]
+ val InferredGadtConstraints = new Property.StickyKey[core.GadtConstraint]
71
72
/** A context property that indicates the owner of any expressions to be typed in the context
73
* if that owner is different from the context's owner. Typically, a context with a class
0 commit comments