Skip to content

IDL Problem Code 89 with alias illegal-dictionary-op

Want to disable me? Check out the configuration guide to learn more.

Execution Error

This is a fatal error that prevents IDL from compiling or running code

This problem, using types, identifies when you are using dictionaries in a way that is not allowed.

For example, when you try to add a dictionary and a list together:

idl
a = dictionary() + list()
;   ^^^^^^^^^^^^^^^^^^^^^ illegal dictionary op

To fix, correct your statement or re-write your code:

idl
a = dictionary('my-list', list())
;   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ OK!

Licensed under MIT.