Skip to content

Commit 7dac549

Browse files
committed
Also track toCharArray
1 parent 13c3210 commit 7dac549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/Instrumentation.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Instrumentation extends MiniPhase { thisPhase =>
2929
ctx.settings.YinstrumentAllocations.value
3030

3131
private val namesOfInterest = List(
32-
"::", "+=", "toString", "newArray", "box",
32+
"::", "+=", "toString", "newArray", "box", "toCharArray",
3333
"map", "flatMap", "filter", "withFilter", "collect", "foldLeft", "foldRight", "take",
3434
"reverse", "mapConserve", "mapconserve", "filterConserve", "zip")
3535
private var namesToRecord: Set[Name] = _

0 commit comments

Comments
 (0)