Skip to content

Commit 3e2fb5e

Browse files
authored
Add range flag settings to patterns files (#5570)
Where `--no-dump-sem-ir` is used, change to `--dump-sem-ir-ranges=only`. Otherwise, add `--dump-sem-ir-ranges=if-present` with a TODO to change to `only`. Note, SemIR is affected just because the extra comments change line numbers in files where splits aren't in use.
1 parent 5c59ee6 commit 3e2fb5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

toolchain/check/testdata/patterns/min_prelude/underscore.carbon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
// This is mostly checking against crashes for compile time bindings in
66
// difficult contexts.
77
//
8+
// TODO: Add ranges and switch to "--dump-sem-ir-ranges=only".
9+
// EXTRA-ARGS: --dump-sem-ir-ranges=if-present
810
// INCLUDE-FILE: toolchain/testing/min_prelude/convert.carbon
911
//
1012
// AUTOUPDATE

0 commit comments

Comments
 (0)