mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-19 16:43:34 -04:00
!1107 fix @BuildParse no assignment time no error
Merge pull request !1107 from Bo Jiang/master
This commit is contained in:
@@ -242,6 +242,7 @@ function validateCustomComponentPrams(node: ts.CallExpression, name: string,
|
||||
}
|
||||
});
|
||||
}
|
||||
validateMandatoryToAssignmentViaParam(node, name, curChildProps, log);
|
||||
}
|
||||
|
||||
function getCustomComponentNode(node: ts.ExpressionStatement): ts.CallExpression {
|
||||
@@ -521,7 +522,7 @@ function validateNonExistentProperty(node: ts.ObjectLiteralElementLike,
|
||||
});
|
||||
}
|
||||
|
||||
function validateMandatoryToAssignmentViaParam(node: ts.ExpressionStatement, customComponentName: string,
|
||||
function validateMandatoryToAssignmentViaParam(node: ts.CallExpression, customComponentName: string,
|
||||
curChildProps: Set<string>, log: LogInfo[]): void {
|
||||
if (builderParamObjectCollection.get(customComponentName) &&
|
||||
builderParamObjectCollection.get(customComponentName).size) {
|
||||
|
||||
Reference in New Issue
Block a user