File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/transform/init Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,19 +22,19 @@ import tpd.Tree
22
22
*
23
23
* The general skeleton for usage of the cache is as follows
24
24
*
25
- * def analysis() = {
25
+ * def analysis(entryExp: Expr ) = {
26
26
* def iterate(entryExp: Expr)(using Cache) =
27
27
* eval(entryExp, initConfig)
28
28
* if cache.hasChanged && noErrors then
29
29
* cache.last = cache.current
30
30
* cache.current = Empty
31
31
* cache.changed = false
32
- * iterate(outputCache, emptyCache )
32
+ * iterate(entryExp )
33
33
* else
34
34
* reportErrors
35
35
*
36
36
*
37
- * def eval(exp: Exp , config: Config)(using Cache) =
37
+ * def eval(expr: Expr , config: Config)(using Cache) =
38
38
* cache.cachedEval(config, expr) {
39
39
* // Actual recursive evaluation of expression.
40
40
* //
You can’t perform that action at this time.
0 commit comments