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
2222 *
2323 * The general skeleton for usage of the cache is as follows
2424 *
25- * def analysis() = {
25+ * def analysis(entryExp: Expr ) = {
2626 * def iterate(entryExp: Expr)(using Cache) =
2727 * eval(entryExp, initConfig)
2828 * if cache.hasChanged && noErrors then
2929 * cache.last = cache.current
3030 * cache.current = Empty
3131 * cache.changed = false
32- * iterate(outputCache, emptyCache )
32+ * iterate(entryExp )
3333 * else
3434 * reportErrors
3535 *
3636 *
37- * def eval(exp: Exp , config: Config)(using Cache) =
37+ * def eval(expr: Expr , config: Config)(using Cache) =
3838 * cache.cachedEval(config, expr) {
3939 * // Actual recursive evaluation of expression.
4040 * //
You can’t perform that action at this time.
0 commit comments