From 5c369faa461ec4416d2d4b231a5b36963a7315ce Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 4 Apr 2016 13:06:50 +0200 Subject: Implement value typing, null support via value attributes For example: v = [null] v = [string] abc v += ABC # abcABC --- build2/b.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/b.cxx') diff --git a/build2/b.cxx b/build2/b.cxx index 44fa032..f9c3683 100644 --- a/build2/b.cxx +++ b/build2/b.cxx @@ -819,7 +819,7 @@ main (int argc, char* argv[]) } value& v (p.first); - v.assign (names (o.val), o.var); // Original var for diagnostics. + v = o.val; first = false; } -- cgit v1.1