From 5046b368d6e6a5f3d56d87860b51eb413dbcb241 Mon Sep 17 00:00:00 2001 From: Diederik de Groot Date: Sun, 28 Jan 2018 20:07:14 +0100 Subject: [PATCH] Fix fail_compilation/impconv.d after improved error message was implemented --- test/fail_compilation/impconv.d | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/test/fail_compilation/impconv.d b/test/fail_compilation/impconv.d index ea37df5816..cb1cb8e21e 100644 --- a/test/fail_compilation/impconv.d +++ b/test/fail_compilation/impconv.d @@ -9,10 +9,14 @@ DISABLED: win32 win64 linux osx freebsd /* TEST_OUTPUT: --- -fail_compilation/impconv.d(26): Error: function `impconv.foo_float(float)` is not callable using argument types `(int)` -fail_compilation/impconv.d(27): Error: function `impconv.foo_float(float)` is not callable using argument types `(uint)` -fail_compilation/impconv.d(30): Error: function `impconv.foo_double(double)` is not callable using argument types `(long)` -fail_compilation/impconv.d(31): Error: function `impconv.foo_double(double)` is not callable using argument types `(ulong)` +fail_compilation/impconv.d(30): Error: function `impconv.foo_float(float)` is not callable using argument types `(int)` +fail_compilation/impconv.d(30): cannot pass argument `-2147483647` of type `int` to parameter `float` +fail_compilation/impconv.d(31): Error: function `impconv.foo_float(float)` is not callable using argument types `(uint)` +fail_compilation/impconv.d(31): cannot pass argument `4294967295u` of type `uint` to parameter `float` +fail_compilation/impconv.d(34): Error: function `impconv.foo_double(double)` is not callable using argument types `(long)` +fail_compilation/impconv.d(34): cannot pass argument `-9223372036854775807L` of type `long` to parameter `double` +fail_compilation/impconv.d(35): Error: function `impconv.foo_double(double)` is not callable using argument types `(ulong)` +fail_compilation/impconv.d(35): cannot pass argument `18446744073709551615LU` of type `ulong` to parameter `double` --- */