Skip to main content

builtin_name_error

Function builtin_name_error 

Source
pub fn builtin_name_error(c: &ConstDecl) -> Option<CompileError>
Expand description

bynk.resolve.name_conflict for a constant named like a built-in type (List, Map): the parser reads such a name as the type in every later reference, so the constant could never be used (the same reservation bynk.resolve.reserved_builtin_type makes for a type declaration).