From ffac37dc48710a08b4272e7c89f05d96ff8137cf Mon Sep 17 00:00:00 2001 From: ychenfo Date: Sun, 29 May 2022 19:14:00 +0800 Subject: [PATCH] nac3core: fix exception type in primitive store --- nac3core/src/toplevel/helper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nac3core/src/toplevel/helper.rs b/nac3core/src/toplevel/helper.rs index c6311862..73eebab5 100644 --- a/nac3core/src/toplevel/helper.rs +++ b/nac3core/src/toplevel/helper.rs @@ -84,7 +84,7 @@ impl TopLevelComposer { obj_id: DefinitionId(7), fields: vec![ ("__name__".into(), (int32, true)), - ("__file__".into(), (int32, true)), + ("__file__".into(), (str, true)), ("__line__".into(), (int32, true)), ("__col__".into(), (int32, true)), ("__func__".into(), (str, true)),