@@ -448,8 +448,8 @@ public enum DeriveCompilableStatement: MemberMacro {
|
||||
let implementation = DeclSyntax(
|
||||
"""
|
||||
public static func CompileStatement(
|
||||
node: Node, withContext context: CompilerContext
|
||||
) -> Result<P4Statement> {
|
||||
node: Node, withContext context: ASTCompilerContext
|
||||
) -> Result<AST.AnStatement> {
|
||||
return switch Compile(node: node, withContext: context) {
|
||||
case .Ok(let res): .Ok(res)
|
||||
case .Error(let e): .Error(e)
|
||||
|
||||
Reference in New Issue
Block a user