Am 22.08.2014 00:48, schrieb Brian Schott:
On Thursday, 21 August 2014 at 22:35:18 UTC, Sönke Ludwig wrote:
Destroy away! ;)

source/stdx/data/json/lexer.d(263:8)[warn]: 'JSONToken' has method
'opEquals', but not 'toHash'.
source/stdx/data/json/lexer.d(499:65)[warn]: Use parenthesis to clarify
this expression.
source/stdx/data/json/parser.d(516:8)[warn]: 'JSONParserNode' has method
'opEquals', but not 'toHash'.
source/stdx/data/json/value.d(95:10)[warn]: Variable c is never used.
source/stdx/data/json/value.d(99:10)[warn]: Variable d is never used.
source/stdx/data/json/package.d(942:14)[warn]: Variable val is never used.

It's likely that you can ignore these, but I thought I'd post them
anyways. (The last three are in unittest blocks, for example.)

Fixed all of them (neither was causing harm, but it's still nicer that way). Also added @safe and nothrow where possible.

BTW, anyone knows what's holding back formattedWrite() from being @safe for simple types?

Reply via email to