piegames and Commentator2.0
f1fbd1d095
libexpr: Warn on incorrect string usage
...
The indentation stripping semantics of strings are fairly bad and have a
few gotchas where they behave unintuitively. But the good news is, that
these cases are easy to catch and can be avoided.
This commit adds a warning in the parser when such strings are detected.
Unfortunately Nixpkgs uses this kind of a lot, so we won't be able to
actually enable this warning for a while to come.
Co-authored-by: Commentator2.0 <lix@crystal-cavern.systems >
Change-Id: I3b3b68c2eee4cd70959d3f4ca643cb6caf3a2217
2026-01-31 15:32:27 +01:00
..
2025-09-18 23:38:46 +02:00
2025-11-24 16:31:29 +01:00
2025-06-02 21:52:34 +02:00
2025-11-25 19:50:24 +00:00
2026-01-03 22:37:20 +01:00
2026-01-31 15:32:27 +01:00
2026-01-31 15:32:27 +01:00
2025-06-01 20:19:37 +02:00
2025-06-02 21:52:34 +02:00
2025-11-18 13:48:32 +00:00
2025-09-18 23:38:46 +02:00
2025-11-18 13:48:32 +00:00
2025-11-18 19:45:15 +01:00
2025-09-18 23:38:46 +02:00
2025-09-18 23:38:46 +02:00
2025-09-18 23:38:46 +02:00
2025-11-24 16:31:29 +01:00
2025-09-18 23:38:46 +02:00
2025-09-18 23:38:46 +02:00
2025-09-18 23:38:46 +02:00
2025-11-18 19:45:15 +01:00
2025-09-18 23:38:46 +02:00
2025-11-24 16:31:29 +01:00
2025-09-18 23:38:46 +02:00
2025-11-24 16:31:29 +01:00
2025-11-24 16:31:29 +01:00
2025-11-17 22:10:11 +00:00
2025-11-17 22:10:11 +00:00
2025-11-17 22:10:11 +00:00
2025-11-18 13:48:32 +00:00
2026-01-23 15:06:51 +01:00
2025-09-18 23:38:46 +02:00
2025-11-17 22:10:11 +00:00
2025-09-18 23:38:46 +02:00
2025-09-18 23:38:46 +02:00
2025-11-24 16:31:29 +01:00
2025-11-24 16:31:29 +01:00
2025-09-18 23:38:46 +02:00
2025-09-18 23:38:46 +02:00
2025-09-18 23:38:46 +02:00
2025-09-18 23:38:46 +02:00
2025-11-17 22:10:11 +00:00
2026-01-23 15:06:51 +01:00
2026-01-23 15:06:51 +01:00
2025-11-17 22:10:11 +00:00
2026-01-23 15:06:51 +01:00
2025-11-18 13:48:32 +00:00
2025-09-18 23:38:46 +02:00
2025-11-17 22:10:11 +00:00
2025-09-18 23:38:46 +02:00
2025-09-18 23:38:46 +02:00
2025-09-18 23:38:46 +02:00
2025-11-24 16:31:29 +01:00
2025-11-24 16:31:29 +01:00
2026-01-04 16:25:06 +00:00
2025-09-18 23:38:46 +02:00
2025-09-18 23:38:46 +02:00
2025-11-17 22:10:11 +00:00
2025-09-18 23:38:46 +02:00
2025-11-17 22:10:11 +00:00
2025-11-22 16:48:53 +01:00
2025-09-18 23:38:46 +02:00
2026-01-14 22:05:16 +00:00
2025-06-02 21:52:34 +02:00
2025-09-18 23:38:46 +02:00
2025-06-02 21:52:34 +02:00
2026-01-03 22:37:20 +01:00
2025-06-02 21:52:34 +02:00
2025-11-14 02:56:53 +00:00
2026-01-23 15:06:51 +01:00
2025-11-18 19:52:17 +01:00
2025-06-02 21:52:34 +02:00
2025-11-24 16:31:29 +01:00
2025-11-18 13:48:32 +00:00
2025-11-24 16:31:29 +01:00
2025-06-02 21:52:34 +02:00
2025-06-20 11:36:13 +02:00
2025-11-22 16:48:53 +01:00
2025-09-18 23:38:46 +02:00
2025-11-25 19:50:24 +00:00
2025-11-17 22:10:11 +00:00
2025-11-24 16:31:29 +01:00
2025-06-02 21:52:34 +02:00
2025-06-20 11:36:13 +02:00
2025-10-11 12:57:57 +02:00
2025-11-17 22:10:11 +00:00
2025-11-24 19:16:27 +00:00
2025-09-18 23:38:46 +02:00
2025-11-24 16:31:29 +01:00
2025-11-17 22:10:11 +00:00
2025-06-02 21:52:34 +02:00
2025-06-02 21:52:34 +02:00
2025-06-02 21:52:34 +02:00
2025-11-17 22:10:11 +00:00
2025-06-02 21:52:34 +02:00
2025-06-02 21:52:34 +02:00
2025-06-02 21:52:34 +02:00
2025-06-01 20:19:37 +02:00
2026-01-23 15:06:51 +01:00
2025-06-02 21:52:34 +02:00
2025-11-17 22:10:11 +00:00
2025-11-24 16:31:29 +01:00
2025-11-18 19:45:15 +01:00
2025-11-18 13:48:32 +00:00
2026-01-31 15:32:27 +01:00
2025-06-02 21:52:34 +02:00
2025-06-02 21:52:34 +02:00
2025-11-17 22:10:11 +00:00
2025-11-17 22:10:11 +00:00
2025-12-01 21:11:25 +01:00
2025-11-17 22:10:11 +00:00
2025-11-24 16:31:29 +01:00
2025-06-01 20:19:37 +02:00
2026-01-23 15:06:51 +01:00
2025-11-21 17:02:35 +00:00
2025-07-17 12:36:54 -07:00
2026-01-23 15:06:51 +01:00
2026-01-23 15:06:51 +01:00