Skip to content

IDL Problem Code 73 with alias duplicate-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 detects when two keywords have the same external name.

Here is an example of this problem:

idl
function myFunc, kw1 = kw1, kw1 = kw2
  ;              ^^^        ^^^  duplicate kw def
  compile_opt idl2
  return, 42
end

Which can be fixed by changing the external keyword name:

idl
function myFunc, kw1 = kw1, kw2 = kw2
  ;              ^^^        ^^^  OK!
  compile_opt idl2
  return, 42
end

Licensed under MIT.