Ok here's the problem code:
Type TVec2 Field x:Float, y:Float Function Create:tVec2() Return New tvec2 EndFunction Method Set(x#, y#) self.x = x self.y = y End Method End Type Type TVec3 Extends TVec2 Field z:Float Function Create:tVec3() Return New tvec3 EndFunction Method Set(x#, y#, z#) self.x = x self.y = y self.z = z End Method End Type v2:TVec2 = TVec2.Create() v3:TVec3 = TVec3.Create()