@sap/cds-compiler
Advanced tools
Comparing version 5.1.0 to 5.1.2
@@ -1206,3 +1206,5 @@ // Compiler phase 1 = "define": transform dictionary of AST-like XSNs into XSN | ||
if (path?.length === 1 && path[0]?.id === '$self') { // TODO: no where: ? | ||
const { $self } = main.$tableAliases; | ||
const $self = main.$tableAliases?.$self || | ||
main.kind === 'extend' && { name: { id: '$self' } }; | ||
// remark: an extend has no "table alias" `$self` (relevant for parse-cdl) | ||
setLink( type, '_artifact', $self ); | ||
@@ -1209,0 +1211,0 @@ setLink( path[0], '_artifact', $self ); |
{ | ||
"name": "@sap/cds-compiler", | ||
"version": "5.1.0", | ||
"version": "5.1.2", | ||
"description": "CDS (Core Data Services) compiler and backends", | ||
@@ -5,0 +5,0 @@ "homepage": "https://cap.cloud.sap/", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4988638
102654