From 4ed5c3acbf4ff4111bc9db1370d0818ad4648f5c Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 8 Sep 2020 12:05:39 +0200 Subject: IntrospectInterpreter: allow dictionaries with nonconstant keys Something like {a: foo} currently stymies the IntrospectionInterpreter and breaks introspection of the source directory. The fix is just to walk the keys and return a dummy dictionary. Signed-off-by: Paolo Bonzini --- test cases/unit/57 introspection/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'test cases/unit') diff --git a/test cases/unit/57 introspection/meson.build b/test cases/unit/57 introspection/meson.build index 3a3db10e7..2b38151f1 100644 --- a/test cases/unit/57 introspection/meson.build +++ b/test cases/unit/57 introspection/meson.build @@ -12,6 +12,7 @@ test_bool = not test_bool set_variable('list_test_plusassign', []) list_test_plusassign += ['bugs everywhere'] +dict_test = {list_test_plusassign[0]: 'even more bugs'} if not true vers_str = '<=99.9.9' -- cgit v1.3