@aeriajs/compiler 0.0.37 → 0.0.38
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/dist/semantic.js +1 -1
- package/dist/semantic.mjs +1 -1
- package/package.json +1 -1
package/dist/semantic.js
CHANGED
|
@@ -124,7 +124,7 @@ const analyze = async (ast, options, errors = []) => {
|
|
|
124
124
|
await checkCollectionForeignProperties(foreignCollection, node.property, 'form');
|
|
125
125
|
if (node.property.constraints) {
|
|
126
126
|
for (const [name, symbol] of node.property[AST.LOCATION_SYMBOL].contraintTerms) {
|
|
127
|
-
if (!await collectionHasProperty(foreignCollection, name)) {
|
|
127
|
+
if (!await collectionHasProperty(foreignCollection, name, options)) {
|
|
128
128
|
const location = parser_js_1.locationMap.get(symbol);
|
|
129
129
|
errors.push(new diagnostic_js_1.Diagnostic(`left operand "${name}" does not exist on collection "${foreignCollection.name}"`, location));
|
|
130
130
|
}
|
package/dist/semantic.mjs
CHANGED
|
@@ -88,7 +88,7 @@ export const analyze = async (ast, options, errors = []) => {
|
|
|
88
88
|
await checkCollectionForeignProperties(foreignCollection, node.property, "form");
|
|
89
89
|
if (node.property.constraints) {
|
|
90
90
|
for (const [name, symbol] of node.property[AST.LOCATION_SYMBOL].contraintTerms) {
|
|
91
|
-
if (!await collectionHasProperty(foreignCollection, name)) {
|
|
91
|
+
if (!await collectionHasProperty(foreignCollection, name, options)) {
|
|
92
92
|
const location = locationMap.get(symbol);
|
|
93
93
|
errors.push(new Diagnostic(`left operand "${name}" does not exist on collection "${foreignCollection.name}"`, location));
|
|
94
94
|
}
|