Skip to content

Commit dc4d6c9

Browse files
committed
Add doc comment to postCheck
1 parent 16b5f4e commit dc4d6c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/src/dotty/tools/dotc/cc/CheckCaptures.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -880,6 +880,7 @@ class CheckCaptures extends Recheck, SymTransformer:
880880
* - Check that externally visible `val`s or `def`s have empty capture sets. If not,
881881
* suggest an explicit type. This is so that separate compilation (where external
882882
* symbols have empty capture sets) gives the same results as joint compilation.
883+
* - Check that arguments of TypeApplys and AppliedTypes conform to their bounds.
883884
*/
884885
def postCheck(unit: tpd.Tree)(using Context): Unit =
885886
unit.foreachSubTree {

0 commit comments

Comments
 (0)