Skip to content

IDL Problem Code 13 with alias illegal-ternary

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 identifies ternary operators (i.e. @!true ? 'true' : 'false') where they shouldn't be encountered.

idl
!true ? 'yes' : 'no'
; ^^^^^^^^^^^^^^^^^^ illegal ternary not in an expression

Licensed under MIT.