From 7b582fd6a63e9fc62afbbcde2fc54192c199f04f Mon Sep 17 00:00:00 2001 From: cooldome Date: Wed, 8 Apr 2020 18:51:23 +0100 Subject: [PATCH] fixes #13863 (#13929) Co-authored-by: cooldome --- lib/pure/marshal.nim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/pure/marshal.nim b/lib/pure/marshal.nim index cf262b5f0..daf313b5c 100644 --- a/lib/pure/marshal.nim +++ b/lib/pure/marshal.nim @@ -50,6 +50,11 @@ ## * `streams module `_ ## * `json module `_ +when defined(nimV2): + {.error: """marshal module is not supported in new runtime. +Please use alternative packages for serialization. +It is possible to reimplement this module using generics and type traits. +Please contribute new implementation.""".} import streams, typeinfo, json, intsets, tables, unicode