The interface spec has a log_visibility
variant type field with a public
variant.
The public
keyword in Motoko is reserved, so how can I capture this variant? The following throws an unexpected token 'public'
error as public is a reserved keyword
type LogVisibility = { #controllers; #public };
Are there any tricks that I can use to use #public
in a variant?