Interface ... Extends ...

BlitzMax Forums/Brucey's Modules/Interface ... Extends ...

col(Posted 2016) [#1]
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()



Brucey(Posted 2016) [#2]
This should be working now...


col(Posted 2016) [#3]
Ahh cool!
Thanks for the fix :-)