pmcf 6.68.11 → 6.68.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/initialization-context.mjs +11 -14
package/package.json
CHANGED
|
@@ -28,29 +28,26 @@ export class InitializationContext {
|
|
|
28
28
|
.outstandingResolves) {
|
|
29
29
|
value = object.expand(value);
|
|
30
30
|
|
|
31
|
+
function resolve(resolved) {
|
|
32
|
+
assign(attribute, object, resolved);
|
|
33
|
+
|
|
34
|
+
if (attribute.name === "extends") {
|
|
35
|
+
// TODO attribute action ?
|
|
36
|
+
object.materializeExtends();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
31
40
|
for (const node of object.walkDirections(["this", "owner"])) {
|
|
32
41
|
const resolved = this.named(value, node);
|
|
33
42
|
if (resolved) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
if (attribute.name === "extends") {
|
|
37
|
-
// TODO attribute action ?
|
|
38
|
-
object.materializeExtends();
|
|
39
|
-
}
|
|
40
|
-
|
|
43
|
+
resolve(resolved);
|
|
41
44
|
continue nextOutstanding;
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
47
|
|
|
45
48
|
const resolved = object.expression(value);
|
|
46
49
|
if (resolved) {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
if (attribute.name === "extends") {
|
|
50
|
-
// TODO attribute action ?
|
|
51
|
-
object.materializeExtends();
|
|
52
|
-
}
|
|
53
|
-
|
|
50
|
+
resolve(resolved);
|
|
54
51
|
continue nextOutstanding;
|
|
55
52
|
}
|
|
56
53
|
|