Skip to content

Commit df716f4

Browse files
abgruszeckismarter
andauthored
Update compiler/src/dotty/tools/dotc/typer/Typer.scala
Co-authored-by: Guillaume Martres <[email protected]>
1 parent 3097457 commit df716f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/typer/Typer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ object Typer {
6767
assert(tree.span.exists, i"position not set for $tree # ${tree.uniqueId} of ${tree.getClass} in ${tree.source}")
6868

6969
/** An attachment for GADT constraints that were inferred for a pattern. */
70-
val InferredGadtConstraints = new Property.Key[core.GadtConstraint]
70+
val InferredGadtConstraints = new Property.StickyKey[core.GadtConstraint]
7171

7272
/** A context property that indicates the owner of any expressions to be typed in the context
7373
* if that owner is different from the context's owner. Typically, a context with a class

0 commit comments

Comments
 (0)