Closed notdanilo closed 11 months ago
Considering the following example
impl Person { pub fn new(name: FullName, age: Age) -> Self { ... } pub fn more_deps(age: Age, a: A, b: B, c: C) -> D; }
We need a function which returns all the dependencies for the Implementation block with the signature:
Implementation
impl Implementation { pub fn dependencies(&self) -> Vec<Identifier>; }
where in the example above should return ["FullName", "Age", "A", "B", "C", "D"].
["FullName", "Age", "A", "B", "C", "D"]
Maybe we should transform all the inputs to fully-qualified paths.
This won't be needed as we are going to have a proper symbol finding mechanism
Considering the following example
We need a function which returns all the dependencies for the
Implementation
block with the signature:where in the example above should return
["FullName", "Age", "A", "B", "C", "D"]
.