Release of patches for X#

This forum is meant for questions and discussions about the X# language and tools
Karl-Heinz
Posts: 774
Joined: Wed May 17, 2017 8:50 am
Location: Germany

Release of patches for X#

Post by Karl-Heinz »

Most of the time the distribution of runtime fixes would work. But sometimes there are compiler/runtime function dependencies. This happens when the compiler generates code that calls runtime functions. E.g. Using the Foxpro dialect, this code currently creates always a PRIVATE and not as expected a PUBLIC memvar.

Code: Select all

FUNCTION Start()
PUBLIC a

// The - correct - VO dialect created code looks like: XSharp.RT.Functions.__MemVarDecl(e"a", _priv: false)
// while the Foxpro dialect created code looks like:  XSharp.RT.Functions.__MemVarDecl(e"a", _priv: true)

// The VO dialect returns correctly 1, while the Foxpro dialect returns 0
? _PublicCount()   

RETURN


btw. The Foxpro dialect issue is already confirmed.

regards
Karl-Heinz
Post Reply