|
@@ -246,7 +246,6 @@ Type TValDecl Extends TDecl
|
|
End Method
|
|
End Method
|
|
|
|
|
|
Method OnSemant()
|
|
Method OnSemant()
|
|
-
|
|
|
|
If declTy
|
|
If declTy
|
|
ty=declTy.Semant()
|
|
ty=declTy.Semant()
|
|
|
|
|
|
@@ -288,6 +287,8 @@ Type TValDecl Extends TDecl
|
|
' the default munged function value as defined in the interface
|
|
' the default munged function value as defined in the interface
|
|
If TInvokeExpr(declInit) Then
|
|
If TInvokeExpr(declInit) Then
|
|
init = declInit.Copy()
|
|
init = declInit.Copy()
|
|
|
|
+ Else If TConstExpr(declInit) Then
|
|
|
|
+ init = declInit.Copy().Semant()
|
|
Else
|
|
Else
|
|
Local expr:TExpr
|
|
Local expr:TExpr
|
|
|
|
|