Skip to main content

W0004 - Syntactic Element Missing

Error​

-export_type([foo/0 bar/1]).
%% ^ warning: Missing ','

Explanation​

The message is indicating that there is a missing element, such as a comma, semi-colon or full stop.

To fix this error you should add the missing element (a comma in the above example).