Does not work even without IntoAstNode.

This commit is contained in:
Tom Alexander
2023-10-29 20:30:09 -04:00
parent f1e985fb32
commit 671159cb82
2 changed files with 206 additions and 204 deletions

View File

@@ -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
};