Handle bound classes as constants during evaluation
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -38,7 +38,7 @@ public:
|
||||
_hash = rand();
|
||||
}
|
||||
|
||||
std::shared_ptr<ScriptType> GetType(){
|
||||
std::shared_ptr<ScriptType> GetType() const{
|
||||
return _type;
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ public:
|
||||
return this->_hash == ((ScriptFunctionEvalValue*)b)->_hash;
|
||||
};
|
||||
|
||||
std::shared_ptr<BoundBlockStatement> GetInnerBlock(){
|
||||
std::shared_ptr<BoundBlockStatement> GetInnerBlock() const{
|
||||
return _innerBlock;
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ public:
|
||||
return _hash;
|
||||
}
|
||||
|
||||
std::shared_ptr<EvaluationScope> GetScope(){
|
||||
std::shared_ptr<EvaluationScope> GetScope() const{
|
||||
return _scope;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user