From af5fa9e744acf6da12f2eab7f44810195c0d3ecd Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 24 May 2021 16:51:24 +0200 Subject: Ban conversion of patterns to values Also improve conversion diagnostic. --- libbuild2/variable.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libbuild2/variable.hxx') diff --git a/libbuild2/variable.hxx b/libbuild2/variable.hxx index a40da92..a272013 100644 --- a/libbuild2/variable.hxx +++ b/libbuild2/variable.hxx @@ -882,6 +882,8 @@ namespace build2 // name // + // Note that a typed name is never a pattern. + // template <> struct LIBBUILD2_SYMEXPORT value_traits { -- cgit v1.1