File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
compiler/src/dotty/tools/dotc/transform/init Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -427,8 +427,7 @@ class Objects(using Context @constructorOnly):
427427 try
428428 init(tpl, obj, classSym)
429429 catch case _ : OutOfQuotaException =>
430- if ! BestEffort then
431- report.warning(" Giving up checking initializatino of " + classSym + " due to exhausted budget" , classSym.sourcePos)
430+ report.warning(" Giving up checking initializatino of " + classSym + " due to exhausted budget" , classSym.sourcePos)
432431 data.addQuotaExhausted(obj)
433432 data.addChecked(obj)
434433 data.popChecking()
@@ -446,7 +445,7 @@ class Objects(using Context @constructorOnly):
446445 iterate()
447446 else
448447 if ! BestEffort then
449- report.warning(" Giving up checking initializatino of " + classSym + " due to complex code " , classSym.sourcePos)
448+ report.warning(" Giving up checking initializatino of " + classSym + " due to iteration > = " + count , classSym.sourcePos)
450449 data.addChecked(obj)
451450 obj
452451 else
You can’t perform that action at this time.
0 commit comments