From e875278e55d3934fe49ee31f18a8a78f1f41f3c7 Mon Sep 17 00:00:00 2001 From: myfreess Date: Tue, 20 Jan 2026 10:15:32 +0800 Subject: [PATCH] fix field name --- syntax/ast_json_repr.mbt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syntax/ast_json_repr.mbt b/syntax/ast_json_repr.mbt index a5d057c..18ed5e0 100644 --- a/syntax/ast_json_repr.mbt +++ b/syntax/ast_json_repr.mbt @@ -28,8 +28,8 @@ fn tagged_node( } ///| -fn tagged_node1(kind : String, loc : Location, child_value : Json) -> Json { - tagged_node(kind, loc, { "0": child_value }) +fn tagged_node1(kind : String, loc : Location, value : Json) -> Json { + tagged_node(kind, loc, { "value": value }) } ///|