From a6603ca30631eb93b757c7ee1d89b9eeac7710ec Mon Sep 17 00:00:00 2001 From: Philip Bittihn <philip.bittihn@ds.mpg.de> Date: Mon, 12 Sep 2022 09:04:35 +0200 Subject: [PATCH] Forgot to remove debug output in new @exportrecursive macro (not harmful, but annoying) --- src/export/generated.jl | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/export/generated.jl b/src/export/generated.jl index d4a6b9d..545fcd6 100644 --- a/src/export/generated.jl +++ b/src/export/generated.jl @@ -331,11 +331,8 @@ This macro produces code where `fieldtype` is the automatically determined type of the field. """ macro exportrecursive(type, field::Symbol) - #check_type(fieldtype) check_type(type) - print(parentmodule(__module__.eval)) local ft = fieldtype(__module__.eval(type), field) - println(ft) return quote @exporttransform $(esc(type)) $(field) ExportUtils.serialize!(Dict{String, Any}("_type" => string(typeof(value))), value) ExportUtils.deserialize(data, InPartS.reconstruct_subtype(data["_type"], $(ft))) end -- GitLab