Skip to content

Commit

Permalink
Change the name of dummy type parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
noti0na1 committed Jan 19, 2024
1 parent bc057db commit 9d1e5a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/typer/Namer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ class Namer { typer: Typer =>
private var myNotNullInfos: List[NotNullInfo] | Null = null

/** The context with which this completer was created */
given creationContext[T]: Context =
given creationContext[Dummy_so_its_a_def]: Context =
if myNotNullInfos == null then ictx else ictx.withNotNullInfos(myNotNullInfos.nn)

// make sure testing contexts are not captured by completers
Expand Down

0 comments on commit 9d1e5a6

Please sign in to comment.