@abaplint/core 2.101.6 → 2.101.7
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.
|
@@ -108,7 +108,14 @@ class DataDefinition extends _abstract_object_1.AbstractObject {
|
|
|
108
108
|
}
|
|
109
109
|
findFieldNames(tree) {
|
|
110
110
|
var _a, _b;
|
|
111
|
-
|
|
111
|
+
let expr = tree.findFirstExpression(expressions_1.CDSSelect);
|
|
112
|
+
if (expr === undefined) {
|
|
113
|
+
expr = tree.findFirstExpression(expressions_1.CDSAnnotate);
|
|
114
|
+
}
|
|
115
|
+
if (expr === undefined) {
|
|
116
|
+
expr = tree.findFirstExpression(expressions_1.CDSDefineProjection);
|
|
117
|
+
}
|
|
118
|
+
for (const e of (expr === null || expr === void 0 ? void 0 : expr.findDirectExpressions(expressions_1.CDSElement)) || []) {
|
|
112
119
|
let found = (_a = e.findDirectExpression(expressions_1.CDSAs)) === null || _a === void 0 ? void 0 : _a.findDirectExpression(expressions_1.CDSName);
|
|
113
120
|
if (found === undefined) {
|
|
114
121
|
const list = e.findDirectExpressions(expressions_1.CDSName);
|
package/build/src/registry.js
CHANGED
|
@@ -154,7 +154,9 @@ Current rules:
|
|
|
154
154
|
* ENUMs, but does not nessesarily give the correct type and value
|
|
155
155
|
* MESSAGE with non simple source
|
|
156
156
|
|
|
157
|
-
Only one transformation is applied to a statement at a time, so multiple steps might be required to do the full downport
|
|
157
|
+
Only one transformation is applied to a statement at a time, so multiple steps might be required to do the full downport.
|
|
158
|
+
|
|
159
|
+
Make sure to test the downported code, it might not always be completely correct.`,
|
|
158
160
|
tags: [_irule_1.RuleTag.Downport, _irule_1.RuleTag.Quickfix],
|
|
159
161
|
};
|
|
160
162
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/core",
|
|
3
|
-
"version": "2.101.
|
|
3
|
+
"version": "2.101.7",
|
|
4
4
|
"description": "abaplint - Core API",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/abaplint.d.ts",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@microsoft/api-extractor": "^7.35.0",
|
|
52
52
|
"@types/chai": "^4.3.5",
|
|
53
53
|
"@types/mocha": "^10.0.1",
|
|
54
|
-
"@types/node": "^20.2.
|
|
54
|
+
"@types/node": "^20.2.5",
|
|
55
55
|
"chai": "^4.3.7",
|
|
56
56
|
"eslint": "^8.41.0",
|
|
57
57
|
"mocha": "^10.2.0",
|