Debian Codegraph @

test cases/failing/89 add dict non string key/meson.build

raw
1 project('add dictionary entry using non-string key')
2
3 dict = {}
4
5 # An integer variable to be used as a key
6 key = 1
7
8 # Add new entry using integer variable as key should fail
9 dict += {key : 'myValue'}