From 10370247301b8119c3e4cda19233139802e8c2c2 Mon Sep 17 00:00:00 2001 From: Sofia Date: Mon, 13 Apr 2026 18:18:25 +0300 Subject: [PATCH] Add binops for typechecker --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 13a2866..3398e36 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -98,6 +98,8 @@ std::optional compile(std::string_view in_filename) { // Perform static analysis typecheck::State typecheck_state{}; + typecheck_state.binops = types::create_binops(); + typecheck::Scope typecheck_scope{}; for (auto& tls : statements) { std::cout << tls->formatted() << std::endl;