From 2607510b1818b78b4462d43eef84ee632b15981b Mon Sep 17 00:00:00 2001 From: Laurin-Luis Lehning <65224843+e820@users.noreply.github.com> Date: Sun, 7 Mar 2021 22:47:54 +0100 Subject: Add failing test cases & release snippet --- docs/markdown/snippets/fstrings.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 docs/markdown/snippets/fstrings.md (limited to 'docs/markdown/snippets/fstrings.md') diff --git a/docs/markdown/snippets/fstrings.md b/docs/markdown/snippets/fstrings.md new file mode 100644 index 0000000..a797aaa --- /dev/null +++ b/docs/markdown/snippets/fstrings.md @@ -0,0 +1,7 @@ +## Introducing format strings to the Meson language + +In addition to the conventional `'A string @0@ to be formatted @1@'.format(n, m)` +method of formatting strings in the Meson DSL, there's now the additional +`f'A string @n@ to be formatted @m@'` notation that provides a non-positional +and clearer alternative. Meson's format strings are currently restricted to +identity-expressions, meaning `f'format {'m' + 'e'}'` will not parse. -- cgit v1.1