Re: [PATCH 1/5] replace: forbid replacing an object with one of a different type
- From
Christian Couder <chriscool@tuxfamily.org>
- Date
- Aug 26, 2013, 07:19 UTC
- Message-ID
- <20130826.091937.1157849584660055093.chriscool@tuxfamily.org>
- In-Reply-To
- <521A6684.7090103@kdbg.org>
From: Johannes Sixt <j6t@kdbg.org>
Show 8 quoted lines
> Am 25.08.2013 21:44, schrieb Christian Couder:
>> What about:
>>
>> die("Objects must be of the same type.\n"
>> "'%s' points to a replaced object of type '%s'\n"
>> "while '%s' points to a replacement object of type '%s'.",
>
> Much better!Ok, I will reroll with this change and the change you suggest in the test.
Thanks, Christian.