state_record_and_type
not considering opaque
as a type declaration
#349
Labels
state_record_and_type
not considering opaque
as a type declaration
#349
Bug Description
I have a state, in a
gen_server
declared as a record.I have to export it for
export_used_types
(it's in the public interface).If I try to make it opaque, I get
This module implements an OTP behavior and has a 'state' record but is missing a 'state()' type.
Should it be "wrong" (for Elvis) to have
?
To Reproduce
Check Description.
Expected Behavior
opaque
should be handled the same astype
.rebar3
LogsNot relevant.
Additional Context
Not relevant.
The text was updated successfully, but these errors were encountered: