|
@@ -248,6 +248,7 @@ Works:
|
|
- dotted unit names, namespaces
|
|
- dotted unit names, namespaces
|
|
|
|
|
|
ToDos:
|
|
ToDos:
|
|
|
|
+- change some == into ===
|
|
- constant evaluation
|
|
- constant evaluation
|
|
- static arrays
|
|
- static arrays
|
|
- property index specifier
|
|
- property index specifier
|
|
@@ -257,6 +258,7 @@ ToDos:
|
|
- defaultvalue
|
|
- defaultvalue
|
|
- type alias type
|
|
- type alias type
|
|
- documentation
|
|
- documentation
|
|
|
|
+- sourcemaps
|
|
- move local types to unit scope
|
|
- move local types to unit scope
|
|
- local var absolute
|
|
- local var absolute
|
|
- FuncName:= (instead of Result:=)
|
|
- FuncName:= (instead of Result:=)
|
|
@@ -5449,6 +5451,7 @@ begin
|
|
TargetProcType:=TPasProcedure(Decl).ProcType
|
|
TargetProcType:=TPasProcedure(Decl).ProcType
|
|
else if (C=TPasClassType)
|
|
else if (C=TPasClassType)
|
|
or (C=TPasClassOfType)
|
|
or (C=TPasClassOfType)
|
|
|
|
+ or (C=TPasRecordType)
|
|
or (C=TPasEnumType)
|
|
or (C=TPasEnumType)
|
|
or (C=TPasArrayType) then
|
|
or (C=TPasArrayType) then
|
|
begin
|
|
begin
|
|
@@ -5465,7 +5468,8 @@ begin
|
|
if JSBaseType=pbtJSValue then
|
|
if JSBaseType=pbtJSValue then
|
|
begin
|
|
begin
|
|
if (C=TPasClassType)
|
|
if (C=TPasClassType)
|
|
- or (C=TPasClassOfType) then
|
|
|
|
|
|
+ or (C=TPasClassOfType)
|
|
|
|
+ or (C=TPasRecordType) then
|
|
begin
|
|
begin
|
|
// TObject(jsvalue) -> rtl.getObject(jsvalue)
|
|
// TObject(jsvalue) -> rtl.getObject(jsvalue)
|
|
Call:=CreateCallExpression(El);
|
|
Call:=CreateCallExpression(El);
|