File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1460,12 +1460,12 @@ trait Checking {
14601460 |CanThrow capabilities can only be generated $req. """ ,
14611461 pat.srcPos)
14621462
1463- /** Check that tree does not define a context fucntion type */
1463+ /** Check that tree does not define a context function type */
14641464 def checkNoContextFunctionType (tree : Tree )(using Context ): Unit =
14651465 def recur (tp : Type ): Unit = tp.dealias match
14661466 case tp : HKTypeLambda => recur(tp.resType)
14671467 case tp if defn.isContextFunctionType(tp) =>
1468- report.error(em " context functon type cannot have opaque aliases " , tree.srcPos)
1468+ report.error(em " context function type cannot have opaque aliases " , tree.srcPos)
14691469 case _ =>
14701470 recur(tree.tpe)
14711471
You can’t perform that action at this time.
0 commit comments