XSharpPublic
XSharpPublic copied to clipboard
VOXporter: Remove Init()/Axit() return type clause
Apparently the VO compiler allows (and ignores) a return type clause in Init()/Axit() methods, and some users have a lot of existing code like below in their VO apps. Obviously such code is a an error in X#, so VOXporter must remove those clauses.
CLASS TestClass1
METHOD Init() as object class TestClass1
return self
CLASS TestClass2
METHOD Init() as TestClass2 class TestClass2
return self
CLASS TestClass3
METHOD Init() as int class TestClass3