Move Type and related concepts in a different module

Leaving only the TypeRegister in the typeregister module
This commit is contained in:
Olivier Goffart 2020-10-23 11:17:14 +02:00
parent 76b7f1aef6
commit 27a6ff1227
24 changed files with 624 additions and 610 deletions

View file

@ -9,7 +9,7 @@
LICENSE END */
use core::cell::RefCell;
use neon::prelude::*;
use sixtyfps_compilerlib::typeregister::Type;
use sixtyfps_compilerlib::langtype::Type;
use sixtyfps_corelib::Resource;
use std::rc::Rc;
@ -150,7 +150,7 @@ fn create<'cx>(
fn to_eval_value<'cx>(
val: Handle<'cx, JsValue>,
ty: sixtyfps_compilerlib::typeregister::Type,
ty: sixtyfps_compilerlib::langtype::Type,
cx: &mut impl Context<'cx>,
persistent_context: &persistent_context::PersistentContext<'cx>,
) -> NeonResult<sixtyfps_interpreter::Value> {