diff options
Diffstat (limited to 'libphobos')
-rw-r--r-- | libphobos/ChangeLog | 5 | ||||
-rw-r--r-- | libphobos/src/std/algorithm/iteration.d | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index 285dfa5..ace6a2f 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,8 @@ +2020-02-17 Martin Liska <mliska@suse.cz> + + PR other/93756 + * src/std/algorithm/iteration.d: Fix typo. + 2020-01-24 Maciej W. Rozycki <macro@wdc.com> * m4/druntime.m4: Handle `--with-toolexeclibdir='. diff --git a/libphobos/src/std/algorithm/iteration.d b/libphobos/src/std/algorithm/iteration.d index 7e57824..93cf1e7 100644 --- a/libphobos/src/std/algorithm/iteration.d +++ b/libphobos/src/std/algorithm/iteration.d @@ -3151,7 +3151,7 @@ The number of seeds must be correspondingly increased. static assert(!is(typeof(reduce!(min, max)(tuple(c), "hello")))); //"Seed (dchar, dchar, dchar) does not have the correct amount of fields (should be 2)" static assert(!is(typeof(reduce!(min, max)(tuple(c, c, c), "hello")))); - //"Incompatable function/seed/element: all(alias pred = "a")/int/dchar" + //"Incompatible function/seed/element: all(alias pred = "a")/int/dchar" static assert(!is(typeof(reduce!all(1, "hello")))); static assert(!is(typeof(reduce!(all, all)(tuple(1, 1), "hello")))); } |