Dana Jansens and Jon Ross-Perkins
19d59b2a8d
Reduce use of the prelude in tests ( #5683 )
...
Remove use of i32/bool when a builtin type or test-define class type can
work. Make `Sub` user-defines in a test that is testing builtin
functions and not trying to test the prelude, in the same way that it
defines its own Negate. Reduce use of the + operator when it isn't
contributing to the test's coverage, since the + operator needs the full
prelude. Remove use of Core.Print when it's not required for the test.
Move `deduce_nested_facet_value.carbon` to its own file since it uses
TypeAnd, and the rest of deduce.carbon does not, but uses i32. This
means they can each use a different min-prelude.
---------
Co-authored-by: Jon Ross-Perkins <jperkins@google.com >
2025-06-17 17:58:59 +00:00
..
2025-06-17 16:45:19 +00:00
2025-06-17 17:58:59 +00:00
2025-06-17 16:45:19 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-06-13 01:55:24 +00:00
2025-06-13 01:55:24 +00:00
2025-06-13 01:55:24 +00:00
2025-06-04 16:56:03 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 19:48:16 +00:00
2025-06-17 16:45:19 +00:00
2025-06-09 22:18:12 +00:00
2025-06-09 22:18:12 +00:00
2025-06-04 16:56:03 +00:00
2025-06-04 16:56:03 +00:00
2025-06-04 16:56:03 +00:00
2025-06-04 16:56:03 +00:00
2025-06-09 22:18:12 +00:00
2025-06-09 22:18:12 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-06-03 19:58:55 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 19:48:16 +00:00
2025-05-29 18:32:57 +00:00
2025-06-17 17:58:59 +00:00
2025-05-29 18:32:57 +00:00
2025-06-04 16:56:03 +00:00
2025-05-29 18:32:57 +00:00
2025-06-13 01:55:24 +00:00
2025-06-17 17:58:59 +00:00
2025-05-29 19:48:16 +00:00
2025-06-17 17:58:59 +00:00
2025-06-13 01:55:24 +00:00
2025-06-13 01:55:24 +00:00
2025-05-29 18:32:57 +00:00
2025-06-17 17:58:59 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-06-17 17:58:59 +00:00
2025-06-17 17:58:59 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-06-17 16:45:19 +00:00
2025-06-13 01:55:24 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-06-04 16:56:03 +00:00
2025-05-29 18:32:57 +00:00
2025-06-04 16:56:03 +00:00
2025-06-04 16:56:03 +00:00
2025-06-13 01:55:24 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 19:48:16 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 19:48:16 +00:00
2025-06-13 01:55:24 +00:00
2025-06-04 16:56:03 +00:00
2025-06-13 01:55:24 +00:00
2025-06-13 01:55:24 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-06-13 01:55:24 +00:00
2025-06-04 16:56:03 +00:00
2025-06-13 01:55:24 +00:00
2025-06-04 16:56:03 +00:00
2025-05-29 18:32:57 +00:00
2025-06-17 16:45:19 +00:00
2025-06-04 16:56:03 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-06-17 17:58:59 +00:00
2025-05-29 18:32:57 +00:00
2025-06-13 01:55:24 +00:00
2025-06-13 01:55:24 +00:00
2025-06-13 01:55:24 +00:00
2025-06-13 01:55:24 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-05-29 18:32:57 +00:00
2025-06-13 01:55:24 +00:00
2025-06-04 16:56:03 +00:00
2025-05-29 18:32:57 +00:00
2025-06-13 01:55:24 +00:00