From 95072fbcc3379a3dfa2356f6c1ed1bfad5b6a656 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Mon, 17 Sep 2018 18:10:05 +0300 Subject: Bugfix: custom pragmas were not working on public fields --- tests/pragmas/tcustom_pragma.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/pragmas/tcustom_pragma.nim') diff --git a/tests/pragmas/tcustom_pragma.nim b/tests/pragmas/tcustom_pragma.nim index d7b199a22..ae0f39631 100644 --- a/tests/pragmas/tcustom_pragma.nim +++ b/tests/pragmas/tcustom_pragma.nim @@ -22,7 +22,7 @@ import custom_pragma block: # A bit more advanced case type Subfield {.defaultValue: "catman".} = object - c {.serializationKey: "cc".}: float + c* {.serializationKey: "cc".}: float MySerializable = object a {.serializationKey"asdf", defaultValue: 5.} : int -- cgit 1.4.1-2-gfad0