diff --git a/src/protocol/ast.rs b/src/protocol/ast.rs index 37c977fdd1de92cc52c1398305ff9553be0bc4a3..3a07106e8d89de2e295b473c3ebbc6f723135a9c 100644 --- a/src/protocol/ast.rs +++ b/src/protocol/ast.rs @@ -339,8 +339,7 @@ pub struct AliasedSymbol { pub position: InputPosition, pub name: Identifier, pub alias: Identifier, - // Phase 2: symbol resolving - pub definition_id: Option, + pub definition_id: DefinitionId, } #[derive(Debug, Clone)] @@ -349,12 +348,7 @@ pub struct ImportSymbols { // Phase 1: parser pub span: InputSpan, pub module_name: Vec, - // Phase 2: module resolving pub module_id: Option, - // Phase 1&2 - // if symbols is empty, then we implicitly import all symbols without any - // aliases for them. If it is not empty, then symbols are explicitly - // specified, and optionally given an alias. pub symbols: Vec, }