Skip to content

Commit 27862bd

Browse files
committed
Remove obsolete method
1 parent 2c262d9 commit 27862bd

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

compiler/src/dotty/tools/dotc/transform/init/Semantic.scala

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,12 +1261,6 @@ object Semantic:
12611261
/** Add a checking task to the work list */
12621262
def addTask(thisRef: ThisRef)(using WorkList) = workList.addTask(Task(thisRef))
12631263

1264-
/** Perform check on the work list until it becomes empty
1265-
*
1266-
* Should only be called once from the checker.
1267-
*/
1268-
def check()(using Cache, WorkList, Context) = workList.work()
1269-
12701264
/** Check the specified tasks
12711265
*
12721266
* Semantic.checkTasks {
@@ -1277,7 +1271,7 @@ object Semantic:
12771271
val workList = new WorkList
12781272
val cache = new Cache
12791273
taskBuilder(using workList)
1280-
Semantic.check()(using cache, workList, ctx)
1274+
workList.work()(using cache, ctx)
12811275

12821276
// ----- Semantic definition --------------------------------
12831277

0 commit comments

Comments
 (0)