Hey all!
I assume that ( we all know what 'assume' means ;-) ), as Extends when used with an Interface compiles ok, that the derived interface would inherit the methods of the base interface, is this the expected behavior in NG? as this doesn't compile with an error of cannot find SetPosition. I didn't want to post a bug if I'm getting my pants twisted.
Strict
Interface IEntity
Method SetPosition()
EndInterface
Interface IMeshEntity Extends IEntity
Method GetMesh()
EndInterface
Type TMeshEntity Implements IMeshEntity
Method GetMesh()
EndMethod
Method SetPosition()
EndMethod
EndType
Local Mesh:IMeshEntity = New TMeshEntity
Mesh.SetPosition()
|