Skip to content

IDL Problem Code 114 with alias ambiguous-kw-def

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 code detects when there is a naming conflict between keyword parameters that will cause likely issues at runtime.

The reason for this is that, in IDL, keyword usage can be abbreviated (i.e. my_keyword can be called as my_k without the full name).

Here is an example with a keyword named output which cannot be differentiated from output_parameters.

idl
pro foo, output_parameters = output_parameters, output = output
  ;                                             ^^^^^^ ambiguous keyword def
  compile_opt idl2
end

Licensed under MIT.