pub fn insert_variable(&mut self, name: String, variant: ValueConstructorVariant, typ: Type) {
        self.local_values.insert(
            name,
            ValueConstructor {
                public: false,
                origin: Default::default(), // TODO: use the real one
                variant,
                typ,
            },
        );
    }
/// Insert a variable in the current scope.
///
Insert a variable in the current scope.
Insert a variable in the current scope .
pub fn insert_variable(&mut self, name: String, variant: ValueConstructorVariant, typ: Type) {
        self.local_values.insert(
            name,
            ValueConstructor {
                public: false,
                origin: Default::default(), // TODO: use the real one
                variant,
                typ,
            },
        );
    }
pub fn insert_variable ( & mut self , name : String , variant : ValueConstructorVariant , typ : Type ) { self . local_values . insert ( name , ValueConstructor { public : false , origin : Default :: default ( ) , // TODO: use the real one variant , typ , } , ) ; }
Insert a variable in the current scope.
Insert a variable in the current scope .
&mut self
name
String
variant
ValueConstructorVariant
typ
Type
&mut self
name
String
variant
ValueConstructorVariant
typ
Type