Deprecate ID::ID_Val(), replace with ID::GetVal()

This commit is contained in:
Jon Siwek 2020-05-07 22:11:10 -07:00
parent 16a8bf3318
commit 32b895f4ba
23 changed files with 69 additions and 68 deletions

View file

@ -236,7 +236,7 @@ IntrusivePtr<Val> NameExpr::Eval(Frame* f) const
return make_intrusive<Val>(id->GetType(), true);
if ( id->IsGlobal() )
v = {NewRef{}, id->ID_Val()};
v = id->GetVal();
else if ( f )
v = {NewRef{}, f->GetElement(id.get())};