|
@@ -18013,6 +18013,7 @@ var
|
|
EvalValue: TResEvalValue;
|
|
EvalValue: TResEvalValue;
|
|
ExpNameJS: TJSExportNameElement;
|
|
ExpNameJS: TJSExportNameElement;
|
|
Decl: TPasElement;
|
|
Decl: TPasElement;
|
|
|
|
+ ResolvedEl: TPasResolverResult;
|
|
begin
|
|
begin
|
|
ExportSymbols:=El.LibrarySection.ExportSymbols;
|
|
ExportSymbols:=El.LibrarySection.ExportSymbols;
|
|
if ExportSymbols.Count=0 then exit;
|
|
if ExportSymbols.Count=0 then exit;
|
|
@@ -18028,8 +18029,8 @@ begin
|
|
// name
|
|
// name
|
|
if Symb.NameExpr<>nil then
|
|
if Symb.NameExpr<>nil then
|
|
begin
|
|
begin
|
|
- RaiseNotSupported(Symb.NameExpr,AContext,20211020142210);
|
|
|
|
- Decl:=nil;
|
|
|
|
|
|
+ aResolver.ComputeElement(Symb.NameExpr,ResolvedEl,[rcConstant]);
|
|
|
|
+ Decl:=ResolvedEl.IdentEl;
|
|
end
|
|
end
|
|
else
|
|
else
|
|
begin
|
|
begin
|