Skip to content

Commit 0bf0cf9

Browse files
committed
Fix benchmarks.
1 parent 54f5b6d commit 0bf0cf9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rascal-lsp/src/main/rascal/lsp/lang/rascal/lsp/refactor/Rename.rsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public Edits rascalRenameSymbol(loc cursorLoc, list[Tree] cursor, str newName, s
246246
tm = augmentFieldUses(tr, tm, getModel);
247247
tm = augmentFormalUses(tr, tm, getModel);
248248
tm = augmentTypeParams(tr, tm);
249-
} catch _: {
249+
} catch e: {
250250
println("Suppressed error during TModel augmentation: <e>");
251251
}
252252
return tm;

rascal-lsp/src/main/rascal/lsp/lang/rascal/tests/rename/Benchmark.rsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ map[str, num] benchmarks(loc projDir) = benchmark((
5555
, "[bird] global function": run(birdProj(projDir), "src/main/rascal/lang/bird/Checker.rsc", "collectAnnos", libs = [typepalLib])
5656
, "[bird] local var": run(birdProj(projDir), "src/main/rascal/lang/bird/Checker.rsc", "imported", libs = [typepalLib])
5757
, "[bird] module name": run(birdProj(projDir), "src/main/rascal/lang/bird/Checker.rsc", "lang::bird::Checker", libs = [typepalLib])
58-
, "[bird] module name": run(birdProj(projDir), "src/main/rascal/lang/bird/Syntax.rsc", "Expr", libs = [typepalLib])
58+
, "[bird] nonterminal name": run(birdProj(projDir), "src/main/rascal/lang/bird/Syntax.rsc", "Expr", libs = [typepalLib])
5959
, "[typepal] local var": run(typepalProj(projDir), "src/analysis/typepal/Solver.rsc", "facts", srcDirs = ["src"])
6060
, "[typepal] constructor": run(typepalProj(projDir), "src/analysis/typepal/Collector.rsc", "collector", srcDirs = ["src"])
6161
, "[typepal] global var": run(typepalProj(projDir), "src/analysis/typepal/Version.rsc", "currentTplVersion", srcDirs = ["src"])

0 commit comments

Comments
 (0)