toolbar buttons to select shape
This commit is contained in:
parent
a73d51a31a
commit
5ffa084516
14 changed files with 367 additions and 239 deletions
|
|
@ -29,6 +29,7 @@ export function evalExpr(expr: Expression, environment: Environment): any {
|
|||
else if (expr.kind === "ref") {
|
||||
const found = environment.get(expr.variable);
|
||||
if (found === undefined) {
|
||||
console.log({environment});
|
||||
throw new Error(`variable '${expr.variable}' does not exist in environment`);
|
||||
}
|
||||
return found;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue