瀏覽代碼

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.
Jon Ross-Perkins 11 月之前
父節點
當前提交
3e2fb5e6ec
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      toolchain/check/testdata/patterns/min_prelude/underscore.carbon

+ 2 - 0
toolchain/check/testdata/patterns/min_prelude/underscore.carbon

@@ -5,6 +5,8 @@
 // This is mostly checking against crashes for compile time bindings in
 // difficult contexts.
 //
+// TODO: Add ranges and switch to "--dump-sem-ir-ranges=only".
+// EXTRA-ARGS: --dump-sem-ir-ranges=if-present
 // INCLUDE-FILE: toolchain/testing/min_prelude/convert.carbon
 //
 // AUTOUPDATE