From 977eb94f0bf7b52c52d68d4f5d473c0168c01351 Mon Sep 17 00:00:00 2001 From: Damiaan Dufaux Date: Fri, 4 Aug 2017 00:01:52 +0200 Subject: [PATCH] Add fatal error --- MsgPack/Decoder.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MsgPack/Decoder.swift b/MsgPack/Decoder.swift index b2408c3..e02be86 100644 --- a/MsgPack/Decoder.swift +++ b/MsgPack/Decoder.swift @@ -251,6 +251,8 @@ struct MsgPckKeyedDecodingContainer: KeyedDecodingContainerProtoco switch decoder.storage[cursor] { case FormatID.fixMapRange: valueFormat = .fixMap + case FormatID.fixArrayRange: + fatalError("array decoding not implemented") case FormatID.fixStringRange: valueFormat = .fixString case FormatID.positiveInt7Range: