Does not work even without IntoAstNode.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use std::collections::HashMap;
|
||||
use std::marker::PhantomData;
|
||||
|
||||
use super::ast_node::IntoIAstNode;
|
||||
// use super::ast_node::IntoIAstNode;
|
||||
use crate::error::CustomError;
|
||||
use organic::types::Element;
|
||||
use organic::types::Object;
|
||||
@@ -102,7 +102,8 @@ async fn convert_reference_contents<'reg, 'orig, 'parse>(
|
||||
let contents = {
|
||||
let mut ret = Vec::new();
|
||||
for obj in contents.iter() {
|
||||
ret.push(obj.into_ast_node(registry).await?);
|
||||
// TODO
|
||||
// ret.push(obj.into_ast_node(registry).await?);
|
||||
}
|
||||
ret
|
||||
};
|
||||
@@ -117,7 +118,8 @@ async fn convert_definition_contents<'reg, 'orig, 'parse>(
|
||||
let contents = {
|
||||
let mut ret = Vec::new();
|
||||
for obj in contents.iter() {
|
||||
ret.push(obj.into_ast_node(registry).await?);
|
||||
// TODO
|
||||
// ret.push(obj.into_ast_node(registry).await?);
|
||||
}
|
||||
ret
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user