trie insertion

This commit is contained in:
Chris Fallin
2021-09-04 12:36:04 -07:00
parent 77ed861857
commit 02ec77a45b
2 changed files with 216 additions and 35 deletions

View File

@@ -1,7 +1,7 @@
//! Compilation process, from AST to Sema to Sequences of Insts.
use crate::{ast, sema, ir, codegen};
use crate::error::Error;
use crate::{ast, codegen, sema};
pub fn compile(defs: &ast::Defs) -> Result<codegen::Automata, Error> {
let mut typeenv = sema::TypeEnv::from_ast(defs)?;