From 47c1a327c78126657f0d783858adc43ec9a464e6 Mon Sep 17 00:00:00 2001 From: Mitya Lyubarskiy Date: Tue, 10 Nov 2020 03:36:37 -0800 Subject: [PATCH] [nullsafe] Conventional style output of the field json Summary: Otherwise this gets serialized in an unconventional way; `nullable` serializes it as a standard `null` or string value. Reviewed By: artempyanykh Differential Revision: D24827593 fbshipit-source-id: a5a9afc80 --- infer/src/atd/jsonbug.atd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infer/src/atd/jsonbug.atd b/infer/src/atd/jsonbug.atd index f443713a8..cfd2953cf 100644 --- a/infer/src/atd/jsonbug.atd +++ b/infer/src/atd/jsonbug.atd @@ -58,7 +58,7 @@ type annotation_point = { type field_name = { class_name: string; - package_name: string option; + package_name: string nullable; field: string; }