You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like not all of the members have a literal/constant 'value:int' declaration, namely: object PCL_PointWithLabel, object PCL_XYZ.
This can happen if:
- The aforementioned members have their `value` supplied by a variable, or otherwise defined as a method
If none of the above apply to your case, it's likely you have discovered an issue with Enumeratum, so please file an issue :)
val values = findValues
The text was updated successfully, but these errors were encountered:
So, the findValues for value enums require that their values be supplied as a literal, and not a variable or a reference, which is what value = schema.PointCloudType.PCL_PointWithLabel is doing.
I would want to wrap constants from Java to provide more context not just pure numbers. Imagine I have the following in Java:
If I create ByteEnumEntry to wrap them:
I'll get a compilation error:
The text was updated successfully, but these errors were encountered: