Re-enable AstNode.
This commit is contained in:
@@ -9,6 +9,7 @@ use organic::types::Element;
|
||||
use organic::types::Object;
|
||||
|
||||
use super::ast_node::IAstNode;
|
||||
use super::ast_node::IntoIAstNode;
|
||||
use super::RefRegistry;
|
||||
|
||||
type IdCounter = u16;
|
||||
@@ -117,8 +118,7 @@ async fn convert_reference_contents<'orig, 'parse>(
|
||||
let contents = {
|
||||
let mut ret = Vec::new();
|
||||
for obj in contents.iter() {
|
||||
// TODO
|
||||
// ret.push(obj.into_ast_node(registry).await?);
|
||||
ret.push(obj.into_ast_node(registry.clone()).await?);
|
||||
}
|
||||
ret
|
||||
};
|
||||
@@ -133,8 +133,7 @@ async fn convert_definition_contents<'orig, 'parse>(
|
||||
let contents = {
|
||||
let mut ret = Vec::new();
|
||||
for obj in contents.iter() {
|
||||
// TODO
|
||||
// ret.push(obj.into_ast_node(registry).await?);
|
||||
ret.push(obj.into_ast_node(registry.clone()).await?);
|
||||
}
|
||||
ret
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user