diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2020-09-08 12:05:39 +0200 |
|---|---|---|
| committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-09-08 19:56:20 +0200 |
| commit | 4ed5c3acbf4ff4111bc9db1370d0818ad4648f5c (patch) | |
| tree | 5e4c81037917aaabbf30e91148ea2a61076ac4d0 /test cases/unit | |
| parent | eca4c6fcaf7393a4a042ca2c6d104e83e0de2ffe (diff) | |
| download | meson-4ed5c3acbf4ff4111bc9db1370d0818ad4648f5c.tar.gz | |
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 <pbonzini@redhat.com>
Diffstat (limited to 'test cases/unit')
| -rw-r--r-- | test cases/unit/57 introspection/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
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' |
