Move pattern interpretation to compile time (#904)

Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com>
This commit is contained in:
Geoff Romer
2021-10-20 10:05:17 -07:00
committed by GitHub
co-authored by Jon Meow
parent 629cfb8c4d
commit 79e3d284b4
6 changed files with 58 additions and 58 deletions
@@ -101,7 +101,7 @@ class Interpreter {
// stack, then creates a new stack frame which calls the specified function
// with the specified arguments.
struct CallFunction {
Nonnull<const FunctionValue*> function;
Nonnull<const FunctionDeclaration*> function;
Nonnull<const Value*> args;
SourceLocation source_loc;
};