We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcc8791 commit 464fa5dCopy full SHA for 464fa5d
compiler/src/dotty/tools/dotc/transform/init/Cache.scala
@@ -22,19 +22,19 @@ import tpd.Tree
22
*
23
* The general skeleton for usage of the cache is as follows
24
25
- * def analysis() = {
+ * def analysis(entryExp: Expr) = {
26
* def iterate(entryExp: Expr)(using Cache) =
27
* eval(entryExp, initConfig)
28
* if cache.hasChanged && noErrors then
29
* cache.last = cache.current
30
* cache.current = Empty
31
* cache.changed = false
32
- * iterate(outputCache, emptyCache)
+ * iterate(entryExp)
33
* else
34
* reportErrors
35
36
37
- * def eval(exp: Exp, config: Config)(using Cache) =
+ * def eval(expr: Expr, config: Config)(using Cache) =
38
* cache.cachedEval(config, expr) {
39
* // Actual recursive evaluation of expression.
40
* //
0 commit comments