Added Super:New() test
This commit is contained in:
@@ -36,6 +36,8 @@ ENDCLASS
|
||||
|
||||
METHOD New( One, Two ) CLASS TTest
|
||||
|
||||
Super:New()
|
||||
|
||||
::One = One
|
||||
::Two = Two
|
||||
|
||||
@@ -47,4 +49,16 @@ CLASS TParent
|
||||
|
||||
DATA One
|
||||
|
||||
METHOD New()
|
||||
|
||||
ENDCLASS
|
||||
|
||||
//--------------------------------------------------------------------//
|
||||
|
||||
METHOD New() CLASS TParent
|
||||
|
||||
? "TParent:New()"
|
||||
|
||||
return Self
|
||||
|
||||
//--------------------------------------------------------------------//
|
||||
|
||||
Reference in New Issue
Block a user