Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-recursive-tags

This commit is contained in:
Brian Carroll 2021-12-11 23:26:29 +00:00
commit b1a2a3ba07
7 changed files with 92 additions and 43 deletions

View file

@ -1,4 +1,3 @@
use std::cell::Cell;
use std::collections::hash_map::DefaultHasher;
use std::hash::{Hash, Hasher};
use std::marker::PhantomData;
@ -23,10 +22,6 @@ use roc_mono::ir::PRETTY_PRINT_IR_SYMBOLS;
const TEST_WRAPPER_NAME: &str = "test_wrapper";
std::thread_local! {
static TEST_COUNTER: Cell<u32> = Cell::new(0);
}
fn promote_expr_to_module(src: &str) -> String {
let mut buffer = String::from("app \"test\" provides [ main ] to \"./platform\"\n\nmain =\n");