Open NexZhu opened 3 years ago
Looks like this was broken in https://github.com/whyrusleeping/cbor-gen/pull/16. cc @whyrusleeping?
Ah, looks like its always allocating a deferred object now. Doesnt seem like wrong behaviour, maybe we should adjust the test?
Well, it's not behaving like any of the other "null" cases. But I agree that the current code is probably safer (and doesn't affect the final encoding).
The following test outputs errors on master branch
Output: