Skip to content

Commit

Permalink
Merge pull request #12 from ThorstenHans/feature/string-ident
Browse files Browse the repository at this point in the history
Resolve string idents from scope
  • Loading branch information
rylev authored Mar 7, 2024
2 parents 4958009 + 295b171 commit 95609f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/evaluator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ impl<'a> Evaluator<'a> {
| component::Type::S8
| component::Type::S16
| component::Type::S32
| component::Type::S64 => self.lookup_in_scope(ident),
| component::Type::S64
| component::Type::String => self.lookup_in_scope(ident),
t => todo!("handle ident '{ident}' with type {t:?}"),
},
None => self.lookup_in_scope(ident),
Expand Down

0 comments on commit 95609f9

Please sign in to comment.