Skip to content

IDL Problem Code 85 with alias illegal-struct-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 structures in a way that is not allowed.

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

idl
a = {} + list()
;   ^^^^^^^^^^^ illegal structure op

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

idl
a = list({})
;   ^^^^^^^^ OK!

Licensed under MIT.